From: Lute Kamstra Date: Thu, 28 Apr 2005 09:18:24 +0000 (+0000) Subject: (generic-mode-internal): Simplify font-lock-defaults. X-Git-Tag: ttn-vms-21-2-B4~686 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8af0371d68dd1a0413ef4fe90bc9944341acba0b;p=emacs.git (generic-mode-internal): Simplify font-lock-defaults. --- diff --git a/lisp/emacs-lisp/generic.el b/lisp/emacs-lisp/generic.el index 1bfa598a7c7..1dfc728906a 100644 --- a/lisp/emacs-lisp/generic.el +++ b/lisp/emacs-lisp/generic.el @@ -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)