[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 1205301 1/2: Fix syntax highlighting of easy-menu-define docstrin
From: |
Stefan Kangas |
Subject: |
master 1205301 1/2: Fix syntax highlighting of easy-menu-define docstrings |
Date: |
Fri, 26 Feb 2021 10:15:17 -0500 (EST) |
branch: master
commit 1205301e0959bd2ae5b18361818d38985af3e6a1
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
Fix syntax highlighting of easy-menu-define docstrings
* lisp/emacs-lisp/easymenu.el (easy-menu-define): Add doc-string
declaration for correct syntax highlighting.
---
lisp/emacs-lisp/easymenu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/easymenu.el b/lisp/emacs-lisp/easymenu.el
index b49d886..8ddfb9e 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)))