[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb 357c9c6 220/449: Always append function to messag
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb 357c9c6 220/449: Always append function to message-exit-actions |
Date: |
Fri, 27 Nov 2020 23:15:43 -0500 (EST) |
branch: externals/gnorb
commit 357c9c6a26f54458f9b170e9def6f4fe22f74c13
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Always append function to message-exit-actions
Probably safest to have our return/restore functions at the end of the
message-exit-actions list.
* lisp/gnorb-gnus.el (gnorb-gnus-check-outgoing-headers,
gnorb-gnus-outgoing-do-todo): Use the 't argument to add-to-list.
* lisp/nngnorb.el (gnorb-summary-reply-hook): Ditto.
---
lisp/gnorb-gnus.el | 5 +++--
lisp/nngnorb.el | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/gnorb-gnus.el b/lisp/gnorb-gnus.el
index a69b5d1..b53629f 100644
--- a/lisp/gnorb-gnus.el
+++ b/lisp/gnorb-gnus.el
@@ -294,7 +294,7 @@ information about the outgoing message into
;; if we're working from a draft, or triggering this from
;; a reply, it might not be there yet.
(add-to-list 'message-exit-actions
- 'gnorb-org-restore-after-send))
+ 'gnorb-org-restore-after-send t))
(setq gnorb-message-org-ids nil)))))
(add-hook 'message-header-hook 'gnorb-gnus-check-outgoing-headers)
@@ -409,7 +409,8 @@ work."
'message-exit-actions
(if header-ids
'gnorb-org-restore-after-send
- 'gnorb-gnus-outgoing-make-todo-1))
+ 'gnorb-gnus-outgoing-make-todo-1)
+ t)
(message
(if header-ids
"Message will trigger TODO state-changes after sending"
diff --git a/lisp/nngnorb.el b/lisp/nngnorb.el
index 864c78d..8048304 100644
--- a/lisp/nngnorb.el
+++ b/lisp/nngnorb.el
@@ -251,7 +251,7 @@ continue to provide tracking of sent messages."
(intern gnorb-mail-header)
org-id)
(add-to-list 'message-exit-actions
- 'gnorb-org-restore-after-send))))))
+ 'gnorb-org-restore-after-send t))))))
(defun gnorb-summary-exit ()
"Like `gnus-summary-exit', but restores the gnorb window conf."
- [elpa] externals/gnorb 0f18c45 311/449: Allow persistent nnir search groups, (continued)
- [elpa] externals/gnorb 0f18c45 311/449: Allow persistent nnir search groups, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 4f62ec8 374/449: Fix inevitable screwup in previous commit, bump version, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 3b81d8c 377/449: Don't mark the 'artno key as precious, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 5a88948 382/449: Fix gnorb-version command, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 2aab7c3 433/449: [gnorb] Use substitute-command-keys, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb afafa8a 424/449: * gnorb/gnorb-registry.el: Fix compilation warnings, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 16f1ab6 183/449: Make gnorb-registry-make-entry more careful, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e07c4cf 194/449: Refactor splitting of message reference headers, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a0b039c 199/449: Probably shouldn't use assoc as a symbol, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 4cfd40c 207/449: Rework gnorb-org-handle-mail to use tracking, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 357c9c6 220/449: Always append function to message-exit-actions,
Stefan Monnier <=
- [elpa] externals/gnorb cffdd60 221/449: Warn people of impending changes in README, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 294e1eb 224/449: Fix calls to gnorb-trigger-todo-action, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 73b7f47 227/449: Use org-element-map's arguments properly, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 82d1e46 230/449: New gnorb.org file, and elpaignore, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e7b8a8b 233/449: First full draft of manual, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 004bdce 234/449: Create and install info manual, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb dd46ce4 246/449: Refactor finding trigger candidates, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 354705a 245/449: Provide completion for Org tags on BBDB records, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 2834602 247/449: Move roadmap/todo list from manual to README, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb f0ba4d7 250/449: Improvements to message disassociation, Stefan Monnier, 2020/11/27