summaryrefslogtreecommitdiff
path: root/lisp/font-lock.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/font-lock.el')
-rw-r--r--lisp/font-lock.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 181a7dc90ef..d815a9c9c46 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -2190,7 +2190,7 @@ as the constructs of Haddock, Javadoc and similar systems."
;;;;;###autoload
;;(progn
;; ;; Make the Font Lock menu.
-;; (defvar font-lock-menu (make-sparse-keymap "Syntax Highlighting"))
+;; (defvar-keymap font-lock-menu :name "Syntax Highlighting")
;; ;; Add the menu items in reverse order.
;; (define-key font-lock-menu [fontify-less]
;; '("Less In Current Buffer" . font-lock-fontify-less))