aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/hideshow.el
diff options
context:
space:
mode:
authorThien-Thi Nguyen <[email protected]>2000-01-05 12:34:51 +0000
committerThien-Thi Nguyen <[email protected]>2000-01-05 12:34:51 +0000
commit7ddafb955f27764cbd108c4b3f225f57d917e880 (patch)
treeabe2734a486a16a2e129fa0631fce8f6b136895b /lisp/progmodes/hideshow.el
parent1362aeb47c7e6dd1ba12933e71ee08db0f26a47b (diff)
Fix buglet in local variables initialization.
Diffstat (limited to 'lisp/progmodes/hideshow.el')
-rw-r--r--lisp/progmodes/hideshow.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el
index 6de24ce4cb..879e14876e 100644
--- a/lisp/progmodes/hideshow.el
+++ b/lisp/progmodes/hideshow.el
@@ -877,7 +877,8 @@ Key bindings:
(while vars
(let ((var (car vars)))
(make-variable-buffer-local var)
- (put var 'permanent-local t))))
+ (put var 'permanent-local t))
+ (setq vars (cdr vars))))
;;---------------------------------------------------------------------------
;; that's it