changeset 27183:6ddedf5e30c8

Fix buglet in local variables initialization.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Wed, 05 Jan 2000 12:32:46 +0000
parents a4349e883944
children 2b11879c1a93
files lisp/progmodes/hideshow.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/hideshow.el	Wed Jan 05 12:29:41 2000 +0000
+++ b/lisp/progmodes/hideshow.el	Wed Jan 05 12:32:46 2000 +0000
@@ -877,7 +877,8 @@
   (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