mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Prefer setq-local in a few more places
* lisp/calc/calc-embed.el (calc-embedded-make-info): * lisp/calc/calcalg2.el (calcFunc-integ): * lisp/comint.el (comint-mode): * lisp/epa.el (epa--list-keys, epa--show-key): * lisp/epg.el (epg--start): * lisp/vc/ediff-util.el (ediff-activate-mark): Prefer setq-local.
This commit is contained in:
parent
651aefa312
commit
7d4d577ed1
6 changed files with 24 additions and 47 deletions
24
lisp/epg.el
24
lisp/epg.el
|
|
@ -641,22 +641,14 @@ callback data (if any)."
|
|||
(with-current-buffer buffer
|
||||
(if (fboundp 'set-buffer-multibyte)
|
||||
(set-buffer-multibyte nil))
|
||||
(make-local-variable 'epg-last-status)
|
||||
(setq epg-last-status nil)
|
||||
(make-local-variable 'epg-read-point)
|
||||
(setq epg-read-point (point-min))
|
||||
(make-local-variable 'epg-process-filter-running)
|
||||
(setq epg-process-filter-running nil)
|
||||
(make-local-variable 'epg-pending-status-list)
|
||||
(setq epg-pending-status-list nil)
|
||||
(make-local-variable 'epg-key-id)
|
||||
(setq epg-key-id nil)
|
||||
(make-local-variable 'epg-context)
|
||||
(setq epg-context context)
|
||||
(make-local-variable 'epg-agent-file)
|
||||
(setq epg-agent-file agent-file)
|
||||
(make-local-variable 'epg-agent-mtime)
|
||||
(setq epg-agent-mtime agent-mtime))
|
||||
(setq-local epg-last-status nil)
|
||||
(setq-local epg-read-point (point-min))
|
||||
(setq-local epg-process-filter-running nil)
|
||||
(setq-local epg-pending-status-list nil)
|
||||
(setq-local epg-key-id nil)
|
||||
(setq-local epg-context context)
|
||||
(setq-local epg-agent-file agent-file)
|
||||
(setq-local epg-agent-mtime agent-mtime))
|
||||
(setq error-process
|
||||
(make-pipe-process :name "epg-error"
|
||||
:buffer (generate-new-buffer " *epg-error*")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue