Commit 08e1d82c authored by Andreas Schwab's avatar Andreas Schwab

* lisp/subr.el (keymap--menu-item-with-binding): Ignore item if not a

menu-item.
parent c5248a7e
2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
* subr.el (keymap--menu-item-with-binding): Ignore item if not a
menu-item.
2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
* whitespace.el: New version 13.2.2.
......
......@@ -624,6 +624,7 @@ Don't call this function; it is for internal use only."
(defun keymap--menu-item-with-binding (item binding)
"Build a menu-item like ITEM but with its binding changed to BINDING."
(cond
((not (consp item)) binding) ;Not a menu-item.
((eq 'menu-item (car item))
(setq item (copy-sequence item))
(let ((tail (nthcdr 2 item)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment