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
a4d4c819
Commit
a4d4c819
authored
Sep 05, 1992
by
Richard M. Stallman
Browse files
(Fcall_interactively): For `K', use last_nonmenu_event.
Make `e' alias for `K'.
parent
7d6de002
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/callint.c
src/callint.c
+4
-2
No files found.
src/callint.c
View file @
a4d4c819
...
...
@@ -66,10 +66,11 @@ c -- Character.\n\
C -- Command name: symbol with interactive function definition.\n\
d -- Value of point as number. Does not do I/O.\n\
D -- Directory name.\n\
e -- Mouse click that invoked this command (value of `last-nonmenu-event').\n\
f -- Existing file name.\n\
F -- Possibly nonexistent file name.\n\
k -- Key sequence (string).\n\
K -- Mouse click that invoked this command
- last-command-char
.\n\
K -- Mouse click that invoked this command
(value of `last-nonmenu-event')
.\n\
m -- Value of mark as number. Does not do I/O.\n\
n -- Number read using minibuffer.\n\
N -- Prefix arg converted to number, or if none, do like code `n'.\n\
...
...
@@ -390,7 +391,8 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
break
;
case
'K'
:
/* Mouse click. */
args
[
i
]
=
last_command_char
;
case
'e'
:
/* New, better name. */
args
[
i
]
=
last_nonmenu_event
;
if
(
NILP
(
Fmouse_click_p
(
args
[
i
])))
error
(
"%s must be bound to a mouse click."
,
(
XTYPE
(
function
)
==
Lisp_Symbol
...
...
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