Don't use make-variable-buffer-local during mode setup.
* magit.el (magit-mode): Use make-local-variable instead.
This commit is contained in:
parent
fb7ede719c
commit
56df9cac09
1 changed files with 1 additions and 1 deletions
2
magit.el
2
magit.el
|
@ -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 ""
|
||||
|
|
Loading…
Reference in a new issue