mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 11:50:51 -08:00
Prefer setq-local in more places
* lisp/erc/erc-compat.el (erc-set-write-file-functions): * lisp/obsolete/iswitchb.el (iswitchb-minibuffer-setup-hook) (iswitchb-minibuffer-setup): * lisp/obsolete/longlines.el (longlines-mode): * lisp/obsolete/rcompile.el (remote-compile): * lisp/progmodes/cperl-mode.el (cperl-file-style): * test/lisp/erc/erc-tests.el (erc-ring-previous-command): Prefer setq-local.
This commit is contained in:
parent
4d57187a24
commit
70c10204f0
6 changed files with 17 additions and 21 deletions
|
|
@ -102,7 +102,7 @@ See `erc-encoding-coding-alist'."
|
|||
|
||||
(defun erc-set-write-file-functions (new-val)
|
||||
(declare (obsolete nil "28.1"))
|
||||
(set (make-local-variable 'write-file-functions) new-val))
|
||||
(setq-local 'write-file-functions new-val))
|
||||
|
||||
(defvar erc-emacs-build-time
|
||||
(if (or (stringp emacs-build-time) (not emacs-build-time))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue