diff options
| author | Stefan Monnier | 2001-07-16 01:55:37 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-07-16 01:55:37 +0000 |
| commit | 3f3960a544ec38afa5ae162ea65a1b1601098020 (patch) | |
| tree | 5675ffafa3571b62fe24d334d12b0d0cead75c47 | |
| parent | a7e34f7948542e88afae28f63abd009e154cd24a (diff) | |
| download | emacs-3f3960a544ec38afa5ae162ea65a1b1601098020.tar.gz emacs-3f3960a544ec38afa5ae162ea65a1b1601098020.zip | |
(hs-minor-mode): Use make-local-variable.
| -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: | |||
| 836 | (progn | 836 | (progn |
| 837 | (hs-grok-mode-type) | 837 | (hs-grok-mode-type) |
| 838 | (easy-menu-add hs-minor-mode-menu) | 838 | (easy-menu-add hs-minor-mode-menu) |
| 839 | (make-variable-buffer-local 'line-move-ignore-invisible) | 839 | (set (make-local-variable 'line-move-ignore-invisible) t) |
| 840 | (setq line-move-ignore-invisible t) | ||
| 841 | (add-to-invisibility-spec '(hs . t))) | 840 | (add-to-invisibility-spec '(hs . t))) |
| 842 | (easy-menu-remove hs-minor-mode-menu) | 841 | (easy-menu-remove hs-minor-mode-menu) |
| 843 | (remove-from-invisibility-spec '(hs . t))) | 842 | (remove-from-invisibility-spec '(hs . t))) |