See commit a3128449. Signed-off-by: Pieter Praet <[email protected]> --- magit-compat.el | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/magit-compat.el b/magit-compat.el index b15221b..43854fc 100644 --- a/magit-compat.el +++ b/magit-compat.el @@ -161,8 +161,7 @@ (defun magit-delete-directory (directory &optional recursive) ;;; Old Git ;;;; Common -(defvar magit-have-config-param 'unset) -(make-variable-buffer-local 'magit-have-config-param) +(defvar-local magit-have-config-param 'unset) (put 'magit-have-config-param 'permanent-local t) (defun magit-configure-have-config-param () @@ -172,15 +171,10 @@ (defun magit-configure-have-config-param () ;;;; Config -(defvar magit-have-graph 'unset) -(defvar magit-have-decorate 'unset) -(defvar magit-have-abbrev 'unset) -(defvar magit-have-grep-reflog 'unset) - -(make-variable-buffer-local 'magit-have-graph) -(make-variable-buffer-local 'magit-have-decorate) -(make-variable-buffer-local 'magit-have-abbrev) -(make-variable-buffer-local 'magit-have-grep-reflog) +(defvar-local magit-have-graph 'unset) +(defvar-local magit-have-decorate 'unset) +(defvar-local magit-have-abbrev 'unset) +(defvar-local magit-have-grep-reflog 'unset) (put 'magit-have-graph 'permanent-local t) (put 'magit-have-decorate 'permanent-local t) -- 1.7.11.1 -- --- You received this message because you are subscribed to the Google Groups "magit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
