From 3f3960a544ec38afa5ae162ea65a1b1601098020 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 16 Jul 2001 01:55:37 +0000 Subject: [PATCH] (hs-minor-mode): Use make-local-variable. --- lisp/progmodes/hideshow.el | 3 +-- 1 file changed, 1 insertion(+), 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))) -- 2.39.2