Commit 3f3960a5 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(hs-minor-mode): Use make-local-variable.

parent a7e34f79
......@@ -836,8 +836,7 @@ Key bindings:
(progn
(hs-grok-mode-type)
(easy-menu-add hs-minor-mode-menu)
(make-variable-buffer-local 'line-move-ignore-invisible)
(setq line-move-ignore-invisible t)
(set (make-local-variable 'line-move-ignore-invisible) t)
(add-to-invisibility-spec '(hs . t)))
(easy-menu-remove hs-minor-mode-menu)
(remove-from-invisibility-spec '(hs . t)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment