diff options
| author | Akinori MUSHA | 2012-12-13 20:26:47 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-12-13 20:26:47 -0800 |
| commit | fd1b1e2ed2efb9891ae3a709d62151a52e937bd6 (patch) | |
| tree | bc83c358c710a7859c97b5210156e201bfafadf7 | |
| parent | 4c95c9a594ade5a642e32be77ff58b60a89b7a7a (diff) | |
| download | emacs-fd1b1e2ed2efb9891ae3a709d62151a52e937bd6.tar.gz emacs-fd1b1e2ed2efb9891ae3a709d62151a52e937bd6.zip | |
sieve-mode font-lock fix (tiny change)
* sieve-mode.el (sieve-font-lock-keywords): Keywords should be word delimited.
Fixes: debbugs:13173
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/sieve-mode.el | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 052c0324734..cfdb44b9961 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-12-14 Akinori MUSHA <knu@iDaemons.org> (tiny change) | ||
| 2 | |||
| 3 | * sieve-mode.el (sieve-font-lock-keywords): | ||
| 4 | Keywords should be word delimited. (Bug#13173) | ||
| 5 | |||
| 1 | 2012-12-12 Katsumi Yamaoka <yamaoka@jpl.org> | 6 | 2012-12-12 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 7 | ||
| 3 | * gnus-art.el (gnus-article-browse-html-parts): Use <div align="left"> | 8 | * gnus-art.el (gnus-article-browse-html-parts): Use <div align="left"> |
diff --git a/lisp/gnus/sieve-mode.el b/lisp/gnus/sieve-mode.el index f49f767d791..32abbfef4db 100644 --- a/lisp/gnus/sieve-mode.el +++ b/lisp/gnus/sieve-mode.el | |||
| @@ -131,14 +131,17 @@ | |||
| 131 | (eval-when-compile | 131 | (eval-when-compile |
| 132 | (list | 132 | (list |
| 133 | ;; control commands | 133 | ;; control commands |
| 134 | (cons (regexp-opt '("require" "if" "else" "elsif" "stop")) | 134 | (cons (regexp-opt '("require" "if" "else" "elsif" "stop") |
| 135 | 'words) | ||
| 135 | 'sieve-control-commands-face) | 136 | 'sieve-control-commands-face) |
| 136 | ;; action commands | 137 | ;; action commands |
| 137 | (cons (regexp-opt '("fileinto" "redirect" "reject" "keep" "discard")) | 138 | (cons (regexp-opt '("fileinto" "redirect" "reject" "keep" "discard") |
| 139 | 'words) | ||
| 138 | 'sieve-action-commands-face) | 140 | 'sieve-action-commands-face) |
| 139 | ;; test commands | 141 | ;; test commands |
| 140 | (cons (regexp-opt '("address" "allof" "anyof" "exists" "false" | 142 | (cons (regexp-opt '("address" "allof" "anyof" "exists" "false" |
| 141 | "true" "header" "not" "size" "envelope")) | 143 | "true" "header" "not" "size" "envelope") |
| 144 | 'words) | ||
| 142 | 'sieve-test-commands-face) | 145 | 'sieve-test-commands-face) |
| 143 | (cons "\\Sw+:\\sw+" | 146 | (cons "\\Sw+:\\sw+" |
| 144 | 'sieve-tagged-arguments-face)))) | 147 | 'sieve-tagged-arguments-face)))) |