]> git.eshelyaron.com Git - emacs.git/commitdiff
(makefile-browse): Use make-local-variable.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 16 Jul 2001 01:52:50 +0000 (01:52 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 16 Jul 2001 01:52:50 +0000 (01:52 +0000)
lisp/progmodes/make-mode.el

index 8e5948661c0776b4084ddd3c97385be8e11472a0..686aa27fbdee798399b418ca25a64d2444def187 100644 (file)
@@ -1231,11 +1231,10 @@ Insertion takes place at point."
        (message "No macros or targets to browse! Consider running 'makefile-pickup-everything\'"))
     (let ((browser-buffer (get-buffer-create makefile-browser-buffer-name)))
        (pop-to-buffer browser-buffer)
-       (make-variable-buffer-local 'makefile-browser-selection-vector)
        (makefile-browser-fill targets macros)
        (shrink-window-if-larger-than-buffer)
-       (setq makefile-browser-selection-vector
-             (make-vector (+ (length targets) (length macros)) nil))
+       (set (make-local-variable 'makefile-browser-selection-vector)
+            (make-vector (+ (length targets) (length macros)) nil))
        (makefile-browser-start-interaction))))
 
 (defun makefile-switch-to-browser ()