(generic-mode-internal): Simplify font-lock-defaults.
This commit is contained in:
parent
1fffafda43
commit
8af0371d68
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ See the file generic-x.el for some examples of `define-generic-mode'."
|
|||
(when keyword-list
|
||||
(push (concat "\\_<" (regexp-opt keyword-list t) "\\_>")
|
||||
generic-font-lock-keywords))
|
||||
(setq font-lock-defaults '(generic-font-lock-keywords nil))
|
||||
(setq font-lock-defaults '(generic-font-lock-keywords))
|
||||
|
||||
;; Call a list of functions
|
||||
(mapcar 'funcall function-list)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue