[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/easymenu.el
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/easymenu.el |
Date: |
Wed, 30 Apr 2003 16:50:09 -0400 |
Index: emacs/lisp/emacs-lisp/easymenu.el
diff -c emacs/lisp/emacs-lisp/easymenu.el:1.60
emacs/lisp/emacs-lisp/easymenu.el:1.61
*** emacs/lisp/emacs-lisp/easymenu.el:1.60 Thu Apr 3 18:15:05 2003
--- emacs/lisp/emacs-lisp/easymenu.el Wed Apr 30 16:50:08 2003
***************
*** 600,611 ****
;; Prefer a map that already contains the to-be-modified entry.
(when to-modify
(dolist (map maps)
! (when (and map (not (integerp map))
(easy-menu-get-map-look-for-name to-modify map))
(throw 'found map))))
;; Use the first valid map.
(dolist (map maps)
! (when (and map (not (integerp map)))
(throw 'found map)))
;; Otherwise, make one up.
;; Hardcoding current-local-map is lame, but it's difficult
--- 600,611 ----
;; Prefer a map that already contains the to-be-modified entry.
(when to-modify
(dolist (map maps)
! (when (and (keymapp map)
(easy-menu-get-map-look-for-name to-modify map))
(throw 'found map))))
;; Use the first valid map.
(dolist (map maps)
! (when (keymapp map)
(throw 'found map)))
;; Otherwise, make one up.
;; Hardcoding current-local-map is lame, but it's difficult