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.
+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
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))