From 86c50b9af1e68ca87bfc9e6d0cdb28ae2e53cc32 Mon Sep 17 00:00:00 2001 From: Fabián Ezequiel Gallina Date: Sat, 7 Feb 2015 14:25:47 -0300 Subject: * lisp/progmodes/python.el (python-check-custom-command): Do not use defvar-local for compat with Emacs<24.3. --- lisp/progmodes/python.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lisp/progmodes/python.el') diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 65515362b4e..de251181c14 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -3849,8 +3849,10 @@ The skeleton will be bound to python-skeleton-NAME." :type 'string :group 'python) -(defvar-local python-check-custom-command nil +(defvar python-check-custom-command nil "Internal use.") +;; XXX: Avoid `defvar-local' for compat with Emacs<24.3 +(make-variable-buffer-local 'python-check-custom-command) (defun python-check (command) "Check a Python file (default current buffer's file). -- cgit v1.2.1