diff options
author | Stefan Kangas <stefan@marxist.se> | 2020-12-04 19:12:12 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2020-12-04 19:12:12 +0100 |
commit | 81fe928a769d9a63078aa1144335c204a2541595 (patch) | |
tree | ca03a9f7c9a9ad6720f804a1243a836843f73a53 /lisp/emacs-lisp/trace.el | |
parent | f0db9ae2139c4a437a9bc08b44d94dbdb3d39c6c (diff) | |
download | emacs-81fe928a769d9a63078aa1144335c204a2541595.tar.gz emacs-81fe928a769d9a63078aa1144335c204a2541595.tar.bz2 emacs-81fe928a769d9a63078aa1144335c204a2541595.zip |
Prefer setq-local in emacs-lisp/*.el
* lisp/emacs-lisp/chart.el (chart-mode):
* lisp/emacs-lisp/copyright.el (copyright-update):
* lisp/emacs-lisp/eieio-custom.el (eieio-customize-object):
* lisp/emacs-lisp/elint.el (elint-update-env, elint-init-form):
* lisp/emacs-lisp/ert.el (ert--results-update-ewoc-hf):
(ert--setup-results-buffer):
* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables):
* lisp/emacs-lisp/pp.el (pp-display-expression):
* lisp/emacs-lisp/re-builder.el (reb-mode, reb-restart-font-lock):
* lisp/emacs-lisp/shadow.el (load-path-shadows-mode):
* lisp/emacs-lisp/smie.el (smie-setup):
* lisp/emacs-lisp/syntax.el (syntax-propertize):
* lisp/emacs-lisp/trace.el (trace-make-advice): Prefer setq-local.
Diffstat (limited to 'lisp/emacs-lisp/trace.el')
-rw-r--r-- | lisp/emacs-lisp/trace.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/trace.el b/lisp/emacs-lisp/trace.el index 627305689c7..28e964ec4c2 100644 --- a/lisp/emacs-lisp/trace.el +++ b/lisp/emacs-lisp/trace.el @@ -225,7 +225,7 @@ be printed along with the arguments in the trace." (ctx (funcall context))) (unless inhibit-trace (with-current-buffer trace-buffer - (set (make-local-variable 'window-point-insertion-type) t) + (setq-local window-point-insertion-type t) (unless background (trace--display-buffer trace-buffer)) (goto-char (point-max)) ;; Insert a separator from previous trace output: |