[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb 7cf46c3 149/449: Don't use `read' when there's no
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb 7cf46c3 149/449: Don't use `read' when there's nothing to read |
Date: |
Fri, 27 Nov 2020 23:15:28 -0500 (EST) |
branch: externals/gnorb
commit 7cf46c30be6b0f72ca95d360b7e4cc157f2bf32c
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Don't use `read' when there's nothing to read
* lisp/gnorb-gnus.el (gnorb-gnus-outgoing-do-todo): If read is fed nil,
it prompts for a lisp expression! Make sure it's not fed nil.
---
lisp/gnorb-gnus.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/gnorb-gnus.el b/lisp/gnorb-gnus.el
index 94d7fe4..e50ce12 100644
--- a/lisp/gnorb-gnus.el
+++ b/lisp/gnorb-gnus.el
@@ -348,7 +348,8 @@ work."
;; what org id headers are present, though, so we don't add
;; duplicates.
(setq ref-ids (unless arg (mail-fetch-field "References" t)))
- (setq reply-group (car-safe (read (mail-fetch-field "X-Draft-From" t))))
+ (setq reply-group (when (mail-fetch-field "X-Draft-From" t)
+ (car-safe (read (mail-fetch-field "X-Draft-From"
t)))))
;; when it's a reply, store a link to the reply just in case.
;; This is pretty embarrassing -- we follow a link just to
;; create a link. But I'm not going to recreate all of
- [elpa] externals/gnorb 9bf56f2 135/449: Refactor extraction of mails from records, (continued)
- [elpa] externals/gnorb 9bf56f2 135/449: Refactor extraction of mails from records, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb c6b7c04 137/449: Minor README edits, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e44ece6 102/449: Multiple misnamed variables in bbdb posting styles, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9f5466d 103/449: Edits courtesy of byte-compiler warnings, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 8fc575c 108/449: Improvements to incoming message handling, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a9d7518 113/449: Make sure we're visiting an id when we cache it, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb d7f6301 123/449: Possibly safer arguments to nnir group creation, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 74c5cef 134/449: Add (probably unnecessary) &optional to prefix args, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 689bdd3 148/449: Use = not eq for numbers, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 31304ac 151/449: Whoops, we were using that, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 7cf46c3 149/449: Don't use `read' when there's nothing to read,
Stefan Monnier <=
- [elpa] externals/gnorb ab9b441 147/449: Clearing list of saved attachments, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 3b6007a 152/449: Autoload cookies all around, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb ecf161e 154/449: Use copy-sequence on message-mode-hook!, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb fc9b6cf 153/449: Use existing functions for mime handles, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb f3b9fad 161/449: Split out msg-id to group/link functionality, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a509ff6 164/449: Still trying to track outgoing messages, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb ade7ee8 163/449: Make hash entries for new sent-message TODOs, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 4d584f1 171/449: Require gnorb-bbdb when popping up bbdb buffer, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 260161b 159/449: Check registry-enabled only after registry is loaded, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb f1545cd 162/449: Don't add a 'group key to registry if no group, Stefan Monnier, 2020/11/27