Mercurial > emacs
changeset 38419:6dd037b0146e
(hs-minor-mode): Use make-local-variable.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 16 Jul 2001 01:55:37 +0000 |
parents | 336177767929 |
children | 0a4a44975e06 |
files | lisp/progmodes/hideshow.el |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/hideshow.el Mon Jul 16 01:52:50 2001 +0000 +++ b/lisp/progmodes/hideshow.el Mon Jul 16 01:55:37 2001 +0000 @@ -836,8 +836,7 @@ (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)))