diff options
-rw-r--r-- | lisp/emacs-lisp/easymenu.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/easymenu.el b/lisp/emacs-lisp/easymenu.el index e2eda651c8f..794ff1b7f89 100644 --- a/lisp/emacs-lisp/easymenu.el +++ b/lisp/emacs-lisp/easymenu.el @@ -45,8 +45,8 @@ NAME is a string--the menu item name. CALLBACK is a command to run when the item is chosen, or a list to evaluate when the item is chosen. -ENABLE is a symbol; if its value is non-nil, the item is enabled -for selection. +ENABLE is an expression; the item is enabled for selection +whenever this expression's value is non-nil. A menu item can be a string. Then that string appears in the menu as unselectable text. A string consisting solely of hyphens is displayed |