emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 48dfaa7: Clarify event-convert-list doc string


From: Lars Ingebrigtsen
Subject: master 48dfaa7: Clarify event-convert-list doc string
Date: Sun, 18 Jul 2021 12:18:11 -0400 (EDT)

branch: master
commit 48dfaa734be15e22f2a30a8cac73353e4649ce0a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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).
---
 src/keyboard.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/keyboard.c b/src/keyboard.c
index 6174a4a..77d6bbb 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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]