Mercurial > emacs
comparison lispref/commands.texi @ 53297:4c4e0f5356bf
Replace all occurrences of @acronym{CAR} with @sc{car}, for
consistency with the rest of the Elisp manual. `car' and `cdr' are
historically acronyms, but are no longer widely thought of as such.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Thu, 25 Dec 2003 03:54:16 +0000 |
parents | 61e2da7a49f4 |
children | 9e3a6298633c |
comparison
equal
deleted
inserted
replaced
53296:3a89b727d7af | 53297:4c4e0f5356bf |
---|---|
1094 @node Mouse Events | 1094 @node Mouse Events |
1095 @subsection Mouse Events | 1095 @subsection Mouse Events |
1096 | 1096 |
1097 Emacs supports four kinds of mouse events: click events, drag events, | 1097 Emacs supports four kinds of mouse events: click events, drag events, |
1098 button-down events, and motion events. All mouse events are represented | 1098 button-down events, and motion events. All mouse events are represented |
1099 as lists. The @acronym{CAR} of the list is the event type; this says which | 1099 as lists. The @sc{car} of the list is the event type; this says which |
1100 mouse button was involved, and which modifier keys were used with it. | 1100 mouse button was involved, and which modifier keys were used with it. |
1101 The event type can also distinguish double or triple button presses | 1101 The event type can also distinguish double or triple button presses |
1102 (@pxref{Repeat Events}). The rest of the list elements give position | 1102 (@pxref{Repeat Events}). The rest of the list elements give position |
1103 and time information. | 1103 and time information. |
1104 | 1104 |
1558 | 1558 |
1559 Every event has an @dfn{event type}, which classifies the event for | 1559 Every event has an @dfn{event type}, which classifies the event for |
1560 key binding purposes. For a keyboard event, the event type equals the | 1560 key binding purposes. For a keyboard event, the event type equals the |
1561 event value; thus, the event type for a character is the character, and | 1561 event value; thus, the event type for a character is the character, and |
1562 the event type for a function key symbol is the symbol itself. For | 1562 the event type for a function key symbol is the symbol itself. For |
1563 events that are lists, the event type is the symbol in the @acronym{CAR} of | 1563 events that are lists, the event type is the symbol in the @sc{car} of |
1564 the list. Thus, the event type is always a symbol or a character. | 1564 the list. Thus, the event type is always a symbol or a character. |
1565 | 1565 |
1566 Two events of the same type are equivalent where key bindings are | 1566 Two events of the same type are equivalent where key bindings are |
1567 concerned; thus, they always run the same command. That does not | 1567 concerned; thus, they always run the same command. That does not |
1568 necessarily mean they do the same things, however, as some commands look | 1568 necessarily mean they do the same things, however, as some commands look |
2581 @defun prefix-numeric-value arg | 2581 @defun prefix-numeric-value arg |
2582 This function returns the numeric meaning of a valid raw prefix argument | 2582 This function returns the numeric meaning of a valid raw prefix argument |
2583 value, @var{arg}. The argument may be a symbol, a number, or a list. | 2583 value, @var{arg}. The argument may be a symbol, a number, or a list. |
2584 If it is @code{nil}, the value 1 is returned; if it is @code{-}, the | 2584 If it is @code{nil}, the value 1 is returned; if it is @code{-}, the |
2585 value @minus{}1 is returned; if it is a number, that number is returned; | 2585 value @minus{}1 is returned; if it is a number, that number is returned; |
2586 if it is a list, the @acronym{CAR} of that list (which should be a number) is | 2586 if it is a list, the @sc{car} of that list (which should be a number) is |
2587 returned. | 2587 returned. |
2588 @end defun | 2588 @end defun |
2589 | 2589 |
2590 @defvar current-prefix-arg | 2590 @defvar current-prefix-arg |
2591 This variable holds the raw prefix argument for the @emph{current} | 2591 This variable holds the raw prefix argument for the @emph{current} |