]> git.eshelyaron.com Git - emacs.git/commitdiff
(generic-mode-internal): Simplify font-lock-defaults.
authorLute Kamstra <lute@gnu.org>
Thu, 28 Apr 2005 09:18:24 +0000 (09:18 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 28 Apr 2005 09:18:24 +0000 (09:18 +0000)
lisp/emacs-lisp/generic.el

index 1bfa598a7c7246f79485f79c472def5773024f29..1dfc728906a9b173f5fcbf6af55352cd63b4bd58 100644 (file)
@@ -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)