diff options
| author | Lars Ingebrigtsen | 2014-02-08 18:13:23 -0800 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2014-02-08 18:13:23 -0800 |
| commit | d6d5fdf826ce74ac3a99cb72aae54cbc2974ffe2 (patch) | |
| tree | f28a50cd4c5626879d5d8c3c65540ab502d3bee9 /doc | |
| parent | 6995e5d0e54a41851bc6ce04d1c50749f531b077 (diff) | |
| download | emacs-d6d5fdf826ce74ac3a99cb72aae54cbc2974ffe2.tar.gz emacs-d6d5fdf826ce74ac3a99cb72aae54cbc2974ffe2.zip | |
Document the `event-start' and `event-end' functions more completely
* doc/lispref/commands.texi (Accessing Mouse): Mention that these function
also work on keyboard events.
* lisp/subr.el (event-start): Doc fix (bug#14228).
(event-end): Ditto.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/commands.texi | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index da7709d354e..96615cf1d90 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * commands.texi (Accessing Mouse): Mention that these function | ||
| 4 | also work on keyboard events (bug#14228). | ||
| 5 | |||
| 1 | 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org> | 6 | 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * display.texi (Face Attributes): Add an index (bug#14924). | 8 | * display.texi (Face Attributes): Add an index (bug#14924). |
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index f9476e5e34c..fa95c7a74ac 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi | |||
| @@ -1934,9 +1934,12 @@ must be the last element of the list. For example, | |||
| 1934 | @node Accessing Mouse | 1934 | @node Accessing Mouse |
| 1935 | @subsection Accessing Mouse Events | 1935 | @subsection Accessing Mouse Events |
| 1936 | @cindex mouse events, data in | 1936 | @cindex mouse events, data in |
| 1937 | @cindex keyboard events, data in | ||
| 1937 | 1938 | ||
| 1938 | This section describes convenient functions for accessing the data in | 1939 | This section describes convenient functions for accessing the data in |
| 1939 | a mouse button or motion event. | 1940 | a mouse button or motion event. Keyboard event data can be accessed |
| 1941 | using the same functions, but data elements that aren't applicable to | ||
| 1942 | keyboard events are zero or @code{nil}. | ||
| 1940 | 1943 | ||
| 1941 | The following two functions return a mouse position list | 1944 | The following two functions return a mouse position list |
| 1942 | (@pxref{Click Events}), specifying the position of a mouse event. | 1945 | (@pxref{Click Events}), specifying the position of a mouse event. |