summaryrefslogtreecommitdiff
path: root/lisp/mh-e/mh-scan.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-10-18 01:33:21 +0200
committerStefan Kangas <stefan@marxist.se>2021-10-18 01:40:00 +0200
commit140e587dd505849cb09c5b3f183bbc686ac020b7 (patch)
tree2cf17ec9092f38c922e360b554b5b24852d62a80 /lisp/mh-e/mh-scan.el
parent7a876397b271c52d603381858750c0224e600e3b (diff)
downloademacs-140e587dd505849cb09c5b3f183bbc686ac020b7.tar.gz
Prefer defvar-local in MH-E
* lisp/mh-e/mh-comp.el (mh-insert-auto-fields-done-local): * lisp/mh-e/mh-e.el (mh-thread-scan-line-map) (mh-thread-scan-line-map-stack): * lisp/mh-e/mh-identity.el (mh-identity-pgg-default-user-id) (mh-identity-local): * lisp/mh-e/mh-scan.el (mh-cmd-note): * lisp/mh-e/mh-seq.el (mh-non-seq-mode-line-annotation): * lisp/mh-e/mh-thread.el (mh-thread-id-hash) (mh-thread-subject-hash, mh-thread-id-table) (mh-thread-index-id-map, mh-thread-id-index-map) (mh-thread-subject-container-hash, mh-thread-duplicates) (mh-thread-history): Prefer defvar-local.
Diffstat (limited to 'lisp/mh-e/mh-scan.el')
-rw-r--r--lisp/mh-e/mh-scan.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/mh-e/mh-scan.el b/lisp/mh-e/mh-scan.el
index 5aa599942e3..5a1a671aee2 100644
--- a/lisp/mh-e/mh-scan.el
+++ b/lisp/mh-e/mh-scan.el
@@ -315,7 +315,7 @@ produced by \"inc\".")
;;; Widths, Offsets and Columns
-(defvar mh-cmd-note 4
+(defvar-local mh-cmd-note 4
"Column for notations.
This variable should be set with the function `mh-set-cmd-note'.
@@ -323,7 +323,6 @@ This variable may be updated dynamically if
`mh-adaptive-cmd-note-flag' is on.
Note that columns in Emacs start with 0.")
-(make-variable-buffer-local 'mh-cmd-note)
(defvar mh-scan-cmd-note-width 1
"Number of columns consumed by the cmd-note field in `mh-scan-format'.