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
08e1d82c
Commit
08e1d82c
authored
Oct 31, 2011
by
Andreas Schwab
Browse files
* lisp/subr.el (keymap--menu-item-with-binding): Ignore item if not a
menu-item.
parent
c5248a7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/subr.el
lisp/subr.el
+1
-0
No files found.
lisp/ChangeLog
View file @
08e1d82c
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.
...
...
lisp/subr.el
View file @
08e1d82c
...
...
@@ -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
)))
...
...
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