(easy-menu-change): Handle case of no keywords.
This commit is contained in:
parent
f09d4cf21b
commit
61ee73836b
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ shadow\\(Double\\)?Etched\\(In\\|Out\\)\\(Dash\\)?\\)\\)$"
|
|||
((vectorp item)
|
||||
(setq name (setq item-string (aref item 0)))
|
||||
(setq command (easy-menu-make-symbol (aref item 1) t))
|
||||
(let ((active (aref item 2))
|
||||
(let ((active (if (> (length item) 2) (aref item 2) t))
|
||||
(count 2)
|
||||
style selected)
|
||||
(if (and (symbolp active) (= ?: (aref (symbol-name active) 0)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue