[Top][All Lists]

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

Re: set-transient-map and a question

From: Robert Pluim
Subject: Re: set-transient-map and a question
Date: Tue, 11 Jul 2023 22:29:44 +0200

>>>>> On Tue, 11 Jul 2023 11:10:10 -0700, Bob Rogers <rogers@rgrjr.com> said:

    Bob>    From: "T.V Raman" <raman@google.com>
    Bob>    Date: Tue, 11 Jul 2023 10:53:20 -0700

    Bob>    Thanks; I have it doing what I want now -- but perhaps it might be
    Bob>    worth logging a bug for the docs? I live purely in emacs -- but can
    Bob>    report the bug using email, but it might be clearer if filed 
    Bob>    in the bug-tracker? (not sure)

    Bob> Filing a bug via email is 100% equivalent; that's the way I always do
    Bob> it.

I donʼt think a bug is needed here. How does this sound:

diff --git a/lisp/subr.el b/lisp/subr.el
index fac5fd58092..6ac040fe5d3 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -6343,7 +6343,8 @@ set-transient-map
 if it returns non-nil, then MAP stays active.
 Optional arg ON-EXIT, if non-nil, specifies a function that is
-called, with no arguments, after MAP is deactivated.
+called, with no arguments, after MAP is deactivated (this happens
+only if KEEP-PRED or TIMEOUT are non-nil).
 Optional arg MESSAGE, if non-nil, requests display of an informative
 message after activating the transient map.  If MESSAGE is a string,


reply via email to

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