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:
Marius Vollmer 2009-06-06 19:29:52 +03:00
parent cd4f15f314
commit 01f37a8c2d

View file

@ -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 ""