1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-17 03:10:58 -08:00

* 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

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