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
c19cc275
Commit
c19cc275
authored
Dec 02, 2000
by
Stefan Monnier
Browse files
(tmm-get-keymap): Eval the menu name in `menu-item'.
parent
250cfece
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/tmm.el
lisp/tmm.el
+2
-4
No files found.
lisp/ChangeLog
View file @
c19cc275
2000-12-02 Stefan Monnier <monnier@cs.yale.edu>
* tmm.el (tmm-get-keymap): Eval the menu name in `menu-item'.
* textmodes/ispell.el (check-ispell-version): Don't use match-beginning
to check if the match succeeded.
...
...
lisp/tmm.el
View file @
c19cc275
...
...
@@ -429,7 +429,7 @@ It uses the free variable `tmm-table-undef' to keep undefined keys."
((
eq
(
car-safe
elt
)
'menu-item
)
(
setq
plist
(
cdr-safe
(
cdr-safe
(
cdr-safe
elt
))))
(
setq
km
(
nth
2
elt
))
(
setq
str
(
nth
1
elt
))
(
setq
str
(
eval
(
nth
1
elt
))
)
(
setq
filter
(
plist-get
plist
:filter
))
(
if
filter
(
setq
km
(
funcall
filter
km
)))
...
...
@@ -463,9 +463,7 @@ It uses the free variable `tmm-table-undef' to keep undefined keys."
(
setq
km
nil
)))
(
and
km
str
(
or
(
assoc
str
tmm-km-list
)
(
setq
tmm-km-list
(
cons
(
cons
str
(
cons
event
km
))
tmm-km-list
)))
))))
(
push
(
cons
str
(
cons
event
km
))
tmm-km-list
))))))
(
defun
tmm-get-keybind
(
keyseq
)
"Return the current binding of KEYSEQ, merging prefix definitions.
...
...
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