mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
sieve-mode font-lock fix (tiny change)
* sieve-mode.el (sieve-font-lock-keywords): Keywords should be word delimited. Fixes: debbugs:13173
This commit is contained in:
parent
4c95c9a594
commit
fd1b1e2ed2
2 changed files with 11 additions and 3 deletions
|
|
@ -131,14 +131,17 @@
|
|||
(eval-when-compile
|
||||
(list
|
||||
;; control commands
|
||||
(cons (regexp-opt '("require" "if" "else" "elsif" "stop"))
|
||||
(cons (regexp-opt '("require" "if" "else" "elsif" "stop")
|
||||
'words)
|
||||
'sieve-control-commands-face)
|
||||
;; action commands
|
||||
(cons (regexp-opt '("fileinto" "redirect" "reject" "keep" "discard"))
|
||||
(cons (regexp-opt '("fileinto" "redirect" "reject" "keep" "discard")
|
||||
'words)
|
||||
'sieve-action-commands-face)
|
||||
;; test commands
|
||||
(cons (regexp-opt '("address" "allof" "anyof" "exists" "false"
|
||||
"true" "header" "not" "size" "envelope"))
|
||||
"true" "header" "not" "size" "envelope")
|
||||
'words)
|
||||
'sieve-test-commands-face)
|
||||
(cons "\\Sw+:\\sw+"
|
||||
'sieve-tagged-arguments-face))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue