summaryrefslogtreecommitdiff
path: root/lisp/mail/emacsbug.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-01-31 19:28:22 +0100
committerStefan Kangas <stefan@marxist.se>2021-01-31 20:08:25 +0100
commit2c754cf449e97203187556390d2c219a50f7c950 (patch)
tree0b457d5ccfcd3be37128f968c51570d70daf0c50 /lisp/mail/emacsbug.el
parent59e8c37d61d313335408f8f23e3025b499200266 (diff)
downloademacs-2c754cf449e97203187556390d2c219a50f7c950.tar.gz
emacs-2c754cf449e97203187556390d2c219a50f7c950.tar.bz2
emacs-2c754cf449e97203187556390d2c219a50f7c950.zip
Prefer defvar-local in mail/*.el
* lisp/mail/emacsbug.el (report-emacs-bug-send-command) (report-emacs-bug-send-hook): * lisp/mail/reporter.el (reporter-initial-text): * lisp/mail/supercite.el (sc-mail-info, sc-attributions): * lisp/mail/rmail.el (rmail-buffer-swapped, rmail-view-buffer): Prefer defvar-local.
Diffstat (limited to 'lisp/mail/emacsbug.el')
-rw-r--r--lisp/mail/emacsbug.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 4e8009db864..815ff4339eb 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -58,13 +58,11 @@
(defvar report-emacs-bug-orig-text nil
"The automatically-created initial text of the bug report.")
-(defvar report-emacs-bug-send-command nil
+(defvar-local report-emacs-bug-send-command nil
"Name of the command to send the bug report, as a string.")
-(make-variable-buffer-local 'report-emacs-bug-send-command)
-(defvar report-emacs-bug-send-hook nil
+(defvar-local report-emacs-bug-send-hook nil
"Hook run before sending the bug report.")
-(make-variable-buffer-local 'report-emacs-bug-send-hook)
(declare-function x-server-vendor "xfns.c" (&optional terminal))
(declare-function x-server-version "xfns.c" (&optional terminal))