diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2001-07-16 01:55:37 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2001-07-16 01:55:37 +0000 |
commit | 3f3960a544ec38afa5ae162ea65a1b1601098020 (patch) | |
tree | 5675ffafa3571b62fe24d334d12b0d0cead75c47 /lisp/progmodes/hideshow.el | |
parent | a7e34f7948542e88afae28f63abd009e154cd24a (diff) | |
download | emacs-3f3960a544ec38afa5ae162ea65a1b1601098020.tar.gz |
(hs-minor-mode): Use make-local-variable.
Diffstat (limited to 'lisp/progmodes/hideshow.el')
-rw-r--r-- | lisp/progmodes/hideshow.el | 3 |
1 files changed, 1 insertions, 2 deletions
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))) |