]> git.eshelyaron.com Git - emacs.git/commitdiff
(hs-minor-mode): Use make-local-variable.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 16 Jul 2001 01:55:37 +0000 (01:55 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 16 Jul 2001 01:55:37 +0000 (01:55 +0000)
lisp/progmodes/hideshow.el

index b29df2828e759cdfb2c8ce451ef329f1a5809e65..e4ab3826e8beb576064c841c2bd0b4a3a12996e3 100644 (file)
@@ -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)))