From a7e34f7948542e88afae28f63abd009e154cd24a Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 16 Jul 2001 01:52:50 +0000 Subject: [PATCH] (makefile-browse): Use make-local-variable. --- lisp/progmodes/make-mode.el | 5 ++--- 1 file 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 () -- 2.39.2