From 56df9cac09f2313a8e0ae08467800f4906d81c07 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Sat, 6 Jun 2009 23:49:56 +0300 Subject: [PATCH] Don't use make-variable-buffer-local during mode setup. * magit.el (magit-mode): Use make-local-variable instead. --- magit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magit.el b/magit.el index ad5306de..a13cfb53 100644 --- a/magit.el +++ b/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 ""