defvar-local for compat with Emacs<24.3.
+2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
+
+ * progmodes/python.el (python-check-custom-command): Do not use
+ defvar-local for compat with Emacs<24.3.
+
2015-02-07 Martin Rudalics <rudalics@gmx.at>
* frame.el (frame-notice-user-settings): Update
: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).