diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-03-21 00:37:56 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-03-21 00:37:56 +0000 |
commit | a7605222758da297fc452714e200f58eab71bfb2 (patch) | |
tree | 8c41e36965cc466b848a091767dc3eb504c1083e /lisp/emacs-lisp | |
parent | 0abf66c5e893d1ff12fa06100eca0cf69dd2c8fc (diff) | |
download | emacs-a7605222758da297fc452714e200f58eab71bfb2.tar.gz emacs-a7605222758da297fc452714e200f58eab71bfb2.tar.bz2 emacs-a7605222758da297fc452714e200f58eab71bfb2.zip |
(make-lucid-menu-keymap): Any row of dashes means blank.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/lmenu.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lmenu.el b/lisp/emacs-lisp/lmenu.el index 4f79c540ef6..395d2d36ede 100644 --- a/lisp/emacs-lisp/lmenu.el +++ b/lisp/emacs-lisp/lmenu.el @@ -63,7 +63,7 @@ command enabler name) (cond ((stringp item) (setq command nil) - (setq name (if (equal item "----") "" item))) + (setq name (if (string-match "^-+$" item) "" item))) ((consp item) (setq command (make-lucid-menu-keymap (car item) (cdr item))) (setq name (car item))) |