forked from mirrors/org-mode
Do not apply drawer face also on indentation
* lisp/org.el (org-fontify-drawers): Do not apply drawer face also on indentation. Reported-by: Norman Tovey-Walsh <ndw@nwalsh.com> <http://lists.gnu.org/r/emacs-orgmode/2020-04/msg00330.html>
This commit is contained in:
parent
ba7d20fcc3
commit
5afacc5fce
|
@ -5286,9 +5286,8 @@ by a #."
|
|||
(defun org-fontify-drawers (limit)
|
||||
"Fontify drawers."
|
||||
(when (re-search-forward org-drawer-regexp limit t)
|
||||
(add-text-properties
|
||||
(line-beginning-position) (line-beginning-position 2)
|
||||
'(font-lock-fontified t face org-drawer))
|
||||
(add-text-properties (1- (match-beginning 1)) (1+ (match-end 1))
|
||||
'(font-lock-fontified t face org-drawer))
|
||||
(org-remove-flyspell-overlays-in
|
||||
(line-beginning-position) (line-beginning-position 2))
|
||||
t))
|
||||
|
|
Loading…
Reference in New Issue