summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2001-07-16 01:52:50 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2001-07-16 01:52:50 +0000
commita7e34f7948542e88afae28f63abd009e154cd24a (patch)
tree5732b9c8156e383d25a3f361bbeada7d844aad3d /lisp/progmodes
parent3e209d8da81b8579d68fa9d4b03b136495edb5ec (diff)
downloademacs-a7e34f7948542e88afae28f63abd009e154cd24a.tar.gz
(makefile-browse): Use make-local-variable.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/make-mode.el5
1 files changed, 2 insertions, 3 deletions
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 ()