summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-07-18 18:18:03 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-07-18 18:18:03 +0200
commit48dfaa734be15e22f2a30a8cac73353e4649ce0a (patch)
tree305059d0a0155d84f4c5dd17a04746bfee0b8e59
parent87a432455d7ddc466da55df1ade5a647511740b6 (diff)
downloademacs-48dfaa734be15e22f2a30a8cac73353e4649ce0a.tar.gz
emacs-48dfaa734be15e22f2a30a8cac73353e4649ce0a.tar.bz2
emacs-48dfaa734be15e22f2a30a8cac73353e4649ce0a.zip
Clarify event-convert-list doc string
* src/keyboard.c (Fevent_convert_list): Clarify that the base type returned isn't always the same (bug#7631).
-rw-r--r--src/keyboard.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 6174a4aad92..77d6bbba623 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -6622,8 +6622,11 @@ DEFUN ("event-convert-list", Fevent_convert_list, Sevent_convert_list, 1, 1, 0,
EVENT-DESC should contain one base event type (a character or symbol)
and zero or more modifier names (control, meta, hyper, super, shift, alt,
drag, down, double or triple). The base must be last.
-The return value is an event type (a character or symbol) which
-has the same base event type and all the specified modifiers. */)
+
+The return value is an event type (a character or symbol) which has
+essentially the same base event type and all the specified modifiers.
+(Some compatibility base types, like symbols that represent a
+character, are not returned verbatim.) */)
(Lisp_Object event_desc)
{
Lisp_Object base = Qnil;