mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-21 13:53:38 -05:00
lang/org: ensure org-auto-align-tags is respected
Should be reported upstream.
This commit is contained in:
@@ -519,6 +519,14 @@ the exported output (i.e. formatters)."
|
||||
;; Open directory links in dired
|
||||
(add-to-list 'org-file-apps '(directory . emacs))
|
||||
|
||||
;; Some uses of `org-fix-tags-on-the-fly' occur without a check on
|
||||
;; `org-auto-align-tags', such as in `org-self-insert-command' and
|
||||
;; `org-delete-backward-char'.
|
||||
;; TODO Should be reported/PR'ed upstream
|
||||
(defadvice! +org--respect-org-auto-align-tags-a (&rest _)
|
||||
:before-while #'org-fix-tags-on-the-fly
|
||||
org-auto-align-tags)
|
||||
|
||||
;; HACK Org is known to use a lot of unicode symbols (and large org files tend
|
||||
;; to be especially memory hungry). Compounded with
|
||||
;; `inhibit-compacting-font-caches' being non-nil, org needs more memory
|
||||
|
Reference in New Issue
Block a user