From: Stefan Monnier Date: Mon, 16 Jul 2001 01:52:50 +0000 (+0000) Subject: (makefile-browse): Use make-local-variable. X-Git-Tag: emacs-pretest-21.0.105~506 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a7e34f7948542e88afae28f63abd009e154cd24a;p=emacs.git (makefile-browse): Use make-local-variable. --- diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 8e5948661c0..686aa27fbde 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -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 ()