lang/org: ensure org-auto-align-tags is respected
Should be reported upstream.
This commit is contained in:
parent
93937ab14d
commit
6b06e0b52f
1 changed files with 8 additions and 0 deletions
|
@ -519,6 +519,14 @@ the exported output (i.e. formatters)."
|
||||||
;; Open directory links in dired
|
;; Open directory links in dired
|
||||||
(add-to-list 'org-file-apps '(directory . emacs))
|
(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
|
;; HACK Org is known to use a lot of unicode symbols (and large org files tend
|
||||||
;; to be especially memory hungry). Compounded with
|
;; to be especially memory hungry). Compounded with
|
||||||
;; `inhibit-compacting-font-caches' being non-nil, org needs more memory
|
;; `inhibit-compacting-font-caches' being non-nil, org needs more memory
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue