branch: master
commit 8fa97ee39efec16043200a4d798b38f7ccef640e
Author: Eric Abrahamsen <e...@ericabrahamsen.net>
Commit: Eric Abrahamsen <e...@ericabrahamsen.net>

    [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.
---
 packages/gnorb/gnorb-gnus.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/gnorb/gnorb-gnus.el b/packages/gnorb/gnorb-gnus.el
index ff69220..87fabf0 100644
--- a/packages/gnorb/gnorb-gnus.el
+++ b/packages/gnorb/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