Commit 3a41eb66 authored by Stefan Monnier's avatar Stefan Monnier

* lisp/msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):

Don't add outdated key-shortcut cache.

Fixes: debbugs:18482
parent a7fc3ab8
2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
* msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
Don't add outdated key-shortcut cache (bug#18482).
2014-09-15 Glenn Morris <rgm@gnu.org>
* image.el (image-multi-frame-p): Fix thinko - do not force
......
......@@ -1064,7 +1064,7 @@ variable `msb-menu-cond'."
list))
(defun msb--make-keymap-menu (raw-menu)
(let ((end (cons '(nil) 'menu-bar-select-buffer))
(let ((end 'menu-bar-select-buffer)
(mcount 0))
(mapcar
(lambda (sub-menu)
......@@ -1105,13 +1105,12 @@ variable `msb-menu-cond'."
(setcdr (nthcdr msb-max-menu-items frames) nil))
(setq frames-menu
(nconc
(list 'frame f-title '(nil) 'keymap f-title)
(list 'frame f-title 'keymap f-title)
(mapcar
(lambda (frame)
(nconc
(list (frame-parameter frame 'name)
(frame-parameter frame 'name)
(cons nil nil))
(frame-parameter frame 'name))
`(lambda ()
(interactive) (menu-bar-select-frame ,frame))))
frames)))))
......
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