+2004-07-25 John Paul Wallington <jpw@gnu.org>
+
+ * subr.el (butlast, event-modifiers, event-basic-type): Doc fixes.
+
2004-07-24 Luc Teirlinck <teirllm@auburn.edu>
* term/tty-colors.el (tty-color-approximate): Doc fix.
list))
(defun butlast (list &optional n)
- "Returns a copy of LIST with the last N elements removed."
+ "Return a copy of LIST with the last N elements removed."
(if (and n (<= n 0)) list
(nbutlast (copy-sequence list) n)))
(get (car obj) 'event-symbol-elements))))
(defun event-modifiers (event)
- "Returns a list of symbols representing the modifier keys in event EVENT.
+ "Return a list of symbols representing the modifier keys in event EVENT.
The elements of the list may include `meta', `control',
`shift', `hyper', `super', `alt', `click', `double', `triple', `drag',
and `down'."
list))))
(defun event-basic-type (event)
- "Returns the basic type of the given event (all modifiers removed).
+ "Return the basic type of the given event (all modifiers removed).
The value is a printing character (not upper case) or a symbol."
(if (consp event)
(setq event (car event)))