mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-28 20:27:51 +00:00
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 New Issue
Block a user