Commit 5c2137b8 authored by Miles Bader's avatar Miles Bader

Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-549

Use symbol-matching for generic-mode keywords

2004-09-15  Miles Bader  <miles@gnu.org>

   * lisp/generic.el (generic-make-keywords-list): Use symbol rather than
   word anchors in regexp.
parent 4b70e2c9
2004-09-15 Miles Bader <miles@gnu.org>
* generic.el (generic-make-keywords-list): Use symbol rather than
word anchors in regexp.
2004-09-14 Sean O'Rourke <sorourke@cs.ucsd.edu>
* ibuf-ext.el (define-ibuffer-filter filename): If buffer has
......
......@@ -405,10 +405,10 @@ INI file. This hook is NOT installed by default."
The regexp is highlighted with FACE."
(unless (listp keywords-list)
(error "Keywords argument must be a list of strings"))
(list (concat prefix "\\<"
(list (concat prefix "\\_<"
;; Use an optimized regexp.
(regexp-opt keywords-list t)
"\\>" suffix)
"\\_>" suffix)
1
face))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment