* lisp/progmodes/python.el (python-check-custom-command): Do not use

defvar-local for compat with Emacs<24.3.
This commit is contained in:
Fabián Ezequiel Gallina 2015-02-07 14:25:47 -03:00
parent d165578319
commit 86c50b9af1
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -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).