Commit a7e34f79 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(makefile-browse): Use make-local-variable.

parent 3e209d8d
...@@ -1231,10 +1231,9 @@ Insertion takes place at point." ...@@ -1231,10 +1231,9 @@ Insertion takes place at point."
(message "No macros or targets to browse! Consider running 'makefile-pickup-everything\'")) (message "No macros or targets to browse! Consider running 'makefile-pickup-everything\'"))
(let ((browser-buffer (get-buffer-create makefile-browser-buffer-name))) (let ((browser-buffer (get-buffer-create makefile-browser-buffer-name)))
(pop-to-buffer browser-buffer) (pop-to-buffer browser-buffer)
(make-variable-buffer-local 'makefile-browser-selection-vector)
(makefile-browser-fill targets macros) (makefile-browser-fill targets macros)
(shrink-window-if-larger-than-buffer) (shrink-window-if-larger-than-buffer)
(setq makefile-browser-selection-vector (set (make-local-variable 'makefile-browser-selection-vector)
(make-vector (+ (length targets) (length macros)) nil)) (make-vector (+ (length targets) (length macros)) nil))
(makefile-browser-start-interaction)))) (makefile-browser-start-interaction))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment