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
2a9f2437
Commit
2a9f2437
authored
Aug 24, 1997
by
Richard M. Stallman
Browse files
(tmm-get-keymap): Ignore any command now disabled for menus.
parent
95772e85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
lisp/tmm.el
lisp/tmm.el
+5
-0
No files found.
lisp/tmm.el
View file @
2a9f2437
...
...
@@ -426,6 +426,11 @@ It uses the free variable `tmm-table-undef' to keep undefined keys."
(
setq
str
event
event
nil
km
(
cons
'keymap
elt
))
)))
(
and
km
(
stringp
km
)
(
setq
str
km
))
;; Verify that the command is enabled;
;; if not, don't mention it.
(
when
(
and
km
(
symbolp
km
)
(
get
km
'menu-enable
))
(
unless
(
eval
(
get
km
'menu-enable
))
(
setq
km
nil
)))
(
and
km
str
(
or
(
assoc
str
tmm-km-list
)
(
setq
tmm-km-list
...
...
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