From 01f37a8c2d51aef6e760c5fa025cd357db33c0b1 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Sat, 6 Jun 2009 19:29:52 +0300 Subject: [PATCH] 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! --- magit.el | 1 + 1 file changed, 1 insertion(+) diff --git a/magit.el b/magit.el index d0ce8b26..362477ea 100644 --- a/magit.el +++ b/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 ""