]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/python.el (python-check-custom-command): Do not use
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Sat, 7 Feb 2015 17:25:47 +0000 (14:25 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Sat, 7 Feb 2015 17:25:47 +0000 (14:25 -0300)
defvar-local for compat with Emacs<24.3.

lisp/ChangeLog
lisp/progmodes/python.el

index a3abb1a4f1f673851a3100c9288d9fc0ca4ba59e..a02f9642e55e7961d0f429ee921546b684b907c8 100644 (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
index 65515362b4eb8a2e485d2307721b581ab9d049f4..de251181c14ccdef2f4f93085136b32ad7029f3c 100644 (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).