From: Stefan Monnier Date: Mon, 16 Jul 2001 01:55:37 +0000 (+0000) Subject: (hs-minor-mode): Use make-local-variable. X-Git-Tag: emacs-pretest-21.0.105~505 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3f3960a544ec38afa5ae162ea65a1b1601098020;p=emacs.git (hs-minor-mode): Use make-local-variable. --- diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el index b29df2828e7..e4ab3826e8b 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)))