From 1e49bfab49317e46540f13c4091200b211c24ba6 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Mon, 4 Jul 2011 01:21:45 +0200 Subject: [PATCH] * callint.c (Finteractive): Clarify the meaning of "@". Fixes: debbugs:8813 --- src/ChangeLog | 4 ++++ src/callint.c | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index b77759527e7..5f3aa60dfd6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-07-03 Lars Magne Ingebrigtsen + + * callint.c (Finteractive): Clarify the meaning of "@" (bug#8813). + 2011-07-03 Chong Yidong * xfaces.c (Finternal_merge_in_global_face): Modify the foreground diff --git a/src/callint.c b/src/callint.c index 4d0a2a07921..1371b403e4b 100644 --- a/src/callint.c +++ b/src/callint.c @@ -105,9 +105,10 @@ Z -- Coding system, nil if no prefix arg. In addition, if the string begins with `*', an error is signaled if the buffer is read-only. -If the string begins with `@', Emacs searches the key sequence which - invoked the command for its first mouse click (or any other event - which specifies a window). +If `@' appears at the beginning of the string, and if the key sequence + used to invoke the command includes any mouse events, then the window + associated with the first of those events is selected before the + command is run. If the string begins with `^' and `shift-select-mode' is non-nil, Emacs first calls the function `handle-shift-selection'. You may use `@', `*', and `^' together. They are processed in the -- 2.39.2