diff options
| author | Basil L. Contovounesios | 2019-04-21 23:02:01 +0100 |
|---|---|---|
| committer | Basil L. Contovounesios | 2019-05-07 18:00:20 +0100 |
| commit | c972da907d494b6d5efd423aa3b5d0b23f7b7801 (patch) | |
| tree | fd5dd346e8e31e029bf3c8686f28c60e6dadf4c4 /src | |
| parent | e10d08df7edbb2e9e90169d19c3361099802fad6 (diff) | |
| download | emacs-c972da907d494b6d5efd423aa3b5d0b23f7b7801.tar.gz emacs-c972da907d494b6d5efd423aa3b5d0b23f7b7801.zip | |
Clarify what constitutes an event (bug#35238)
* doc/lispref/commands.texi (Input Events): Specify that events are
non-nil and remove vestiges of bug#10190.
* doc/lispref/os.texi (Recording Input): Document optional argument
of recent-keys.
* lisp/subr.el (eventp): Check that the car of conses is non-nil.
* etc/NEWS: Announce it as an incompatible change.
* src/keyboard.c (Frecent_keys): Clarify that returned "events" are
not real events.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index ea13c7f5bcd..5f2b7afe6d1 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -9968,7 +9968,7 @@ If CHECK-TIMERS is non-nil, timers that are ready to run will do so. */) | |||
| 9968 | DEFUN ("recent-keys", Frecent_keys, Srecent_keys, 0, 1, 0, | 9968 | DEFUN ("recent-keys", Frecent_keys, Srecent_keys, 0, 1, 0, |
| 9969 | doc: /* Return vector of last few events, not counting those from keyboard macros. | 9969 | doc: /* Return vector of last few events, not counting those from keyboard macros. |
| 9970 | If INCLUDE-CMDS is non-nil, include the commands that were run, | 9970 | If INCLUDE-CMDS is non-nil, include the commands that were run, |
| 9971 | represented as events of the form (nil . COMMAND). */) | 9971 | represented as pseudo-events of the form (nil . COMMAND). */) |
| 9972 | (Lisp_Object include_cmds) | 9972 | (Lisp_Object include_cmds) |
| 9973 | { | 9973 | { |
| 9974 | bool cmds = !NILP (include_cmds); | 9974 | bool cmds = !NILP (include_cmds); |