From 064e645b9cdc4df7a9afed2109c98b9ccb62bc1e Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Mon, 27 Jan 2020 02:27:40 +0900 Subject: [PATCH] Use setq-local --- emacs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 0143d78..8be748e 100644 --- a/emacs.el +++ b/emacs.el @@ -2055,7 +2055,7 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called." (set-variable 'bs-default-sort-name "by nothing") (add-hook 'bs-mode-hook (lambda () - (set (make-local-variable 'scroll-margin) 0) + (setq-local scroll-margin 0) (setq-local header-line-format nil) (setq-local mode-line-format nil) )))