emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/gnorb 034f10a 434/449: [gnorb] Use characterp, not numb


From: Stefan Monnier
Subject: [elpa] externals/gnorb 034f10a 434/449: [gnorb] Use characterp, not numberp, for testing register key
Date: Fri, 27 Nov 2020 23:16:27 -0500 (EST)

branch: externals/gnorb
commit 034f10aab8eb96703ce2438fc7d264f7e0164223
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    [gnorb] Use characterp, not numberp, for testing register key
    
    * packages/gnorb/gnorb-gnus.el (gnorb-gnus-incoming-do-todo): It will
    only be valid as a register key if it's a character.
---
 gnorb-gnus.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnorb-gnus.el b/gnorb-gnus.el
index ff69220..87fabf0 100644
--- a/gnorb-gnus.el
+++ b/gnorb-gnus.el
@@ -622,7 +622,7 @@ you'll stay in the Gnus summary buffer."
            (delete-other-windows)
            (gnorb-trigger-todo-action nil targ)
            (when gnorb-gnus-copy-message-text
-             (if (numberp gnorb-gnus-copy-message-text)
+             (if (characterp gnorb-gnus-copy-message-text)
                  (with-temp-buffer
                    (insert text)
                    (copy-to-register



reply via email to

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