changeset 38418:336177767929

(makefile-browse): Use make-local-variable.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 16 Jul 2001 01:52:50 +0000
parents 0cb7d94430a0
children 6dd037b0146e
files lisp/progmodes/make-mode.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/make-mode.el	Mon Jul 16 01:51:19 2001 +0000
+++ b/lisp/progmodes/make-mode.el	Mon Jul 16 01:52:50 2001 +0000
@@ -1231,11 +1231,10 @@
 	(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 ()