summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/easymenu.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-02-26 15:59:56 +0100
committerStefan Kangas <stefan@marxist.se>2021-02-26 15:59:56 +0100
commit1205301e0959bd2ae5b18361818d38985af3e6a1 (patch)
tree3cf288889dde3ab2fdd205c511edec5b9a11fef8 /lisp/emacs-lisp/easymenu.el
parent54af0d4298fbd60692a7b5339b5b909242909bf4 (diff)
downloademacs-1205301e0959bd2ae5b18361818d38985af3e6a1.tar.gz
emacs-1205301e0959bd2ae5b18361818d38985af3e6a1.tar.bz2
emacs-1205301e0959bd2ae5b18361818d38985af3e6a1.zip
Fix syntax highlighting of easy-menu-define docstrings
* lisp/emacs-lisp/easymenu.el (easy-menu-define): Add doc-string declaration for correct syntax highlighting.
Diffstat (limited to 'lisp/emacs-lisp/easymenu.el')
-rw-r--r--lisp/emacs-lisp/easymenu.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easymenu.el b/lisp/emacs-lisp/easymenu.el
index b49d886ede1..8ddfb9e78ef 100644
--- a/lisp/emacs-lisp/easymenu.el
+++ b/lisp/emacs-lisp/easymenu.el
@@ -143,7 +143,7 @@ solely of dashes is displayed as a menu separator.
Alternatively, a menu item can be a list with the same format as
MENU. This is a submenu."
- (declare (indent defun) (debug (symbolp body)))
+ (declare (indent defun) (debug (symbolp body)) (doc-string 3))
`(progn
,(if symbol `(defvar ,symbol nil ,doc))
(easy-menu-do-define (quote ,symbol) ,maps ,doc ,menu)))