aboutsummaryrefslogtreecommitdiff
path: root/emacs/notmuch-draft.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2020-11-16 22:28:38 +0100
committerDavid Bremner <david@tethera.net>2020-12-06 16:22:18 -0400
commit9fadab4e63afcc2adf06eac964da8bc8e5c9cd47 (patch)
tree41639297027c2e8fbeb0c84657a26824a5228a31 /emacs/notmuch-draft.el
parentdff7f06711dba1c2d6a84d3e76021da0bf606623 (diff)
emacs: use defvar-local
It is available since Emacs 24.3 and we require at least Emacs 25.
Diffstat (limited to 'emacs/notmuch-draft.el')
-rw-r--r--emacs/notmuch-draft.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/emacs/notmuch-draft.el b/emacs/notmuch-draft.el
index b13eb51c..ca720384 100644
--- a/emacs/notmuch-draft.el
+++ b/emacs/notmuch-draft.el
@@ -89,9 +89,8 @@ like they are intended to be sent encrypted
"<#\\(part encrypt\\|secure.*mode=.*encrypt>\\)"
"Regular expression matching mml tags indicating encryption of part or message.")
-(defvar notmuch-draft-id nil
+(defvar-local notmuch-draft-id nil
"Message-id of the most recent saved draft of this message.")
-(make-variable-buffer-local 'notmuch-draft-id)
(defun notmuch-draft--mark-deleted ()
"Tag the last saved draft deleted.