forked from mirrors/org-mode
Fix fontification error in feb52f9028
* lisp/org.el (org-activate-code): correct regexp so ":.*" isn't matched.
This commit is contained in:
parent
7410001a47
commit
9c33b9c259
|
@ -5160,7 +5160,7 @@ will be prompted for."
|
|||
t)))))
|
||||
|
||||
(defun org-activate-code (limit)
|
||||
(if (re-search-forward "^[ \t]*\\(:\\(?: .*\\)?\n?\\)" limit t)
|
||||
(if (re-search-forward "^[ \t]*\\(:\\(?: .*\\|$\\)\n?\\)" limit t)
|
||||
(progn
|
||||
(org-remove-flyspell-overlays-in (match-beginning 0) (match-end 0))
|
||||
(remove-text-properties (match-beginning 0) (match-end 0)
|
||||
|
|
Loading…
Reference in a new issue