branch: externals/cm-mode
commit e363c54f5d4bdad8135733ec5230a5cea172793a
Author: Joost Kremers <[email protected]>
Commit: Joost Kremers <[email protected]>
Add 'prepend' override to font lock entries.
---
cm-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cm-mode.el b/cm-mode.el
index beeac113f6..2a3736711c 100644
--- a/cm-mode.el
+++ b/cm-mode.el
@@ -244,7 +244,7 @@ it is added automatically."
(regexp-opt (list elt) t))
markup
".*?"))
- (add-to-list 'font-lock `(0 ,face) t) ; the highlighter for the entire
change
+ (add-to-list 'font-lock `(0 ,face prepend) t) ; the highlighter for the
entire change
(dotimes (n (length markup))
(add-to-list 'font-lock `(,(1+ n) '(face ,face read-only t)) t) ; make
the tags read-only
(add-to-list 'font-lock `("." (progn ; and make the read-only property
of the final character rear-nonsticky