diff options
Diffstat (limited to 'lisp/scroll-lock.el')
-rw-r--r-- | lisp/scroll-lock.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/scroll-lock.el b/lisp/scroll-lock.el index f20ea1bcc87..31808be4372 100644 --- a/lisp/scroll-lock.el +++ b/lisp/scroll-lock.el @@ -64,7 +64,7 @@ MS-Windows systems if `w32-scroll-lock-modifier' is non-nil." (progn (setq scroll-lock-preserve-screen-pos-save scroll-preserve-screen-position) - (set (make-local-variable 'scroll-preserve-screen-position) 'always)) + (setq-local scroll-preserve-screen-position 'always)) (setq scroll-preserve-screen-position scroll-lock-preserve-screen-pos-save))) |