Don't use make-variable-buffer-local during mode setup.

* magit.el (magit-mode): Use make-local-variable instead.
This commit is contained in:
Marius Vollmer 2009-06-06 23:49:56 +03:00
parent fb7ede719c
commit 56df9cac09

View file

@ -1290,7 +1290,7 @@ Please see the manual for a complete description of Magit.
(kill-all-local-variables)
(buffer-disable-undo)
(setq buffer-read-only t)
(make-variable-buffer-local 'line-move-visual)
(make-local-variable 'line-move-visual)
(setq major-mode 'magit-mode
mode-name "Magit"
mode-line-process ""