[Top][All Lists]

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

[elpa] externals/gnorb ecf161e 154/449: Use copy-sequence on message-mod

From: Stefan Monnier
Subject: [elpa] externals/gnorb ecf161e 154/449: Use copy-sequence on message-mode-hook!
Date: Fri, 27 Nov 2020 23:15:29 -0500 (EST)

branch: externals/gnorb
commit ecf161ec00146884c46a2adeda5bf9f0faecb3f3
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>

    Use copy-sequence on message-mode-hook!
    * lisp/gnorb-org.el (gnorb-org-handle-mail): The BBDB posting styles
      thing was leaking into the global value of message-mode-hook. I'd done
      it properly in `gnorb-bbdb-mail', but forgotten about it here.
 lisp/gnorb-org.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/gnorb-org.el b/lisp/gnorb-org.el
index 90d4b72..50339aa 100644
--- a/lisp/gnorb-org.el
+++ b/lisp/gnorb-org.el
@@ -528,6 +528,7 @@ current heading."
               (bcc (mp "MAIL_BCC"))
               (org-id (org-id-get-create))
               (recs (plist-get links :bbdb))
+              (message-mode-hook (copy-sequence message-mode-hook))
          (when file
            (cons g file attachments))

reply via email to

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