Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4b0cbff9
Commit
4b0cbff9
authored
Mar 24, 2003
by
John Paul Wallington
Browse files
(easy-menu-add-item): Don't default to the global map.
parent
48ce734b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/emacs-lisp/easymenu.el
lisp/emacs-lisp/easymenu.el
+0
-3
No files found.
lisp/ChangeLog
View file @
4b0cbff9
...
...
@@ -10,6 +10,9 @@
2003-03-24 John Paul Wallington <jpw@gnu.org>
* emacs-lisp/easymenu.el (easy-menu-add-item): Don't default to
the global map.
* emerge.el (emerge-show-file-name): Read event irrespective of
whether minibuffer window is resized. Clear minibuffer when done.
...
...
lisp/emacs-lisp/easymenu.el
View file @
4b0cbff9
...
...
@@ -516,9 +516,6 @@ submenu is then traversed recursively with the remaining elements of PATH.
ITEM is either defined as in `easy-menu-define' or a non-nil value returned
by `easy-menu-item-present-p' or `easy-menu-remove-item' or a menu defined
earlier by `easy-menu-define' or `easy-menu-create-menu'."
(
unless
map
(
setq
map
(
current-global-map
))
(
push
'menu-bar
path
))
(
setq
map
(
easy-menu-get-map
map
path
(
and
(
null
map
)
(
null
path
)
(
stringp
(
car-safe
item
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment