]> git.eshelyaron.com Git - emacs.git/commitdiff
(make-lucid-menu-keymap): Any row of dashes means blank.
authorKarl Heuer <kwzh@gnu.org>
Mon, 21 Mar 1994 00:37:56 +0000 (00:37 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 21 Mar 1994 00:37:56 +0000 (00:37 +0000)
lisp/emacs-lisp/lmenu.el

index 4f79c540ef6fb05f7e0afb6b28005556332bdd37..395d2d36ede5f56ea6dd65365ef363a406e81710 100644 (file)
@@ -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)))