diff options
author | Stefan Kangas <stefan@marxist.se> | 2020-12-04 10:55:50 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2020-12-04 10:55:56 +0100 |
commit | 78cdf4c7627e0ce857bb6c6ebbca183e18762c21 (patch) | |
tree | ce125a31fb64908805310a83ed0dedcd6395c425 /lisp/eshell/esh-arg.el | |
parent | f365eb2e055c05e8dbd76aca6b6d10b0a888d5da (diff) | |
download | emacs-78cdf4c7627e0ce857bb6c6ebbca183e18762c21.tar.gz emacs-78cdf4c7627e0ce857bb6c6ebbca183e18762c21.tar.bz2 emacs-78cdf4c7627e0ce857bb6c6ebbca183e18762c21.zip |
Prefer setq-local in eshell
* lisp/eshell/em-cmpl.el (eshell-cmpl-initialize):
* lisp/eshell/em-dirs.el (eshell-dirs-initialize):
* lisp/eshell/em-glob.el (eshell-glob-initialize, eshell-glob-regexp):
* lisp/eshell/em-hist.el (eshell-hist-initialize):
* lisp/eshell/em-prompt.el (eshell-prompt-initialize):
* lisp/eshell/em-rebind.el (eshell-rebind-initialize)
(eshell-setup-input-keymap):
* lisp/eshell/em-script.el (eshell-script-initialize):
* lisp/eshell/em-smart.el (eshell-smart-initialize):
* lisp/eshell/em-term.el (eshell-term-initialize, eshell-exec-visual):
* lisp/eshell/em-tramp.el (eshell-tramp-initialize):
* lisp/eshell/em-unix.el (eshell-unix-initialize, eshell/diff):
* lisp/eshell/esh-arg.el (eshell-arg-initialize):
* lisp/eshell/esh-cmd.el (eshell-cmd-initialize):
* lisp/eshell/esh-io.el (eshell-get-target):
* lisp/eshell/esh-mode.el (eshell-mode):
* lisp/eshell/esh-var.el (eshell-var-initialize): Prefer setq-local.
Diffstat (limited to 'lisp/eshell/esh-arg.el')
-rw-r--r-- | lisp/eshell/esh-arg.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/eshell/esh-arg.el b/lisp/eshell/esh-arg.el index aefda647689..cecb6f7918f 100644 --- a/lisp/eshell/esh-arg.el +++ b/lisp/eshell/esh-arg.el @@ -168,8 +168,8 @@ treated as a literal character." (defun eshell-arg-initialize () ;Called from `eshell-mode' via intern-soft! "Initialize the argument parsing code." (eshell-arg-mode) - (set (make-local-variable 'eshell-inside-quote-regexp) nil) - (set (make-local-variable 'eshell-outside-quote-regexp) nil)) + (setq-local eshell-inside-quote-regexp nil) + (setq-local eshell-outside-quote-regexp nil)) (defun eshell-insert-buffer-name (buffer-name) "Insert BUFFER-NAME into the current buffer at point." |