aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/hideshow.el
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2001-07-16 01:55:37 +0000
committerStefan Monnier <[email protected]>2001-07-16 01:55:37 +0000
commit3f3960a544ec38afa5ae162ea65a1b1601098020 (patch)
tree5675ffafa3571b62fe24d334d12b0d0cead75c47 /lisp/progmodes/hideshow.el
parenta7e34f7948542e88afae28f63abd009e154cd24a (diff)
(hs-minor-mode): Use make-local-variable.
Diffstat (limited to 'lisp/progmodes/hideshow.el')
-rw-r--r--lisp/progmodes/hideshow.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el
index b29df2828e..e4ab3826e8 100644
--- a/lisp/progmodes/hideshow.el
+++ b/lisp/progmodes/hideshow.el
@@ -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)))