]> gitweb.factorcode.org Git - factor.git/commitdiff
Emacs factor mode: correct fontification in presence of word names containing !.
authorJose A. Ortega Ruiz <jao@gnu.org>
Wed, 26 Nov 2008 21:58:11 +0000 (22:58 +0100)
committerJose A. Ortega Ruiz <jao@gnu.org>
Wed, 26 Nov 2008 21:58:11 +0000 (22:58 +0100)
misc/factor.el

index 346642f70c64e6b0ccb78d20227e6cc831ef0c2a..79e48e768cff6f89033da41a252bb1366c888699 100644 (file)
@@ -227,7 +227,8 @@ buffer."
     (,factor--regexp-word-start (2 "(;"))
     ("\\(;\\)" (1 "):"))
     ("\\(#!\\)" (1 "<"))
-    ("\\(!\\)" (1 "<"))
+    (" \\(!\\)" (1 "<"))
+    ("^\\(!\\)" (1 "<"))
     ("\\(!(\\) .* \\()\\)" (1 "<") (2 ">"))))
 
 (defvar factor-mode-syntax-table nil