Don't mess with the global value of line-move-visual.
* magit.el (magit-mode): Make line-move-visual buffer local before setting it. Thanks Leo!
This commit is contained in:
parent
cd4f15f314
commit
01f37a8c2d
1 changed files with 1 additions and 0 deletions
1
magit.el
1
magit.el
|
@ -1279,6 +1279,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)
|
||||
(setq major-mode 'magit-mode
|
||||
mode-name "Magit"
|
||||
mode-line-process ""
|
||||
|
|
Loading…
Reference in a new issue