(Arne Babenhauserheide)
2013-08-10: FIX: wisp-mode font-locking for '(), '(crie) and (name) — the first FIX: wisp-mode font-locking for '(), '(crie) and (name) — the first two should not be marked as function calls, the third should not treat the bracket as part of the function.
diff --git a/wisp-mode.el b/wisp-mode.el --- a/wisp-mode.el +++ b/wisp-mode.el @@ -67,7 +67,7 @@ ("^\\(?: *\\)[^ :][^ ]*" . 'font-lock-function-name-face) ; ("\\(?: : *\\)[^ ]+" . 'font-lock-function-name-face) (" : " "\\=\\([^ ]+\\)" nil nil (1 font-lock-function-name-face)) - ("\\(?:( *\\)[^ ]+" . 'font-lock-function-name-face) + ("[^']( *" "\\=\\([^ )]+\\)" nil nil (1 font-lock-function-name-face)) (";" . 'font-lock-comment-delimiter-face) ("\\_<[0-9]+\\_>\\|\\_<[0-9]*\\.[0-9]*\\(e[+-]?[0-9]+\\)?\\_>" . font-lock-constant-face) (" : \\| \\. " . font-lock-keywords-face)