aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina2015-02-07 14:25:47 -0300
committerFabián Ezequiel Gallina2015-02-07 14:25:47 -0300
commit86c50b9af1e68ca87bfc9e6d0cdb28ae2e53cc32 (patch)
tree4f8317e1230eaebeb602bf60aa3278f0307e0004
parentd1655783194f7b84ccac7114a2c341f10bc438b0 (diff)
downloademacs-86c50b9af1e68ca87bfc9e6d0cdb28ae2e53cc32.tar.gz
emacs-86c50b9af1e68ca87bfc9e6d0cdb28ae2e53cc32.zip
* lisp/progmodes/python.el (python-check-custom-command): Do not use
defvar-local for compat with Emacs<24.3.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/python.el4
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a3abb1a4f1f..a02f9642e55 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
2
3 * progmodes/python.el (python-check-custom-command): Do not use
4 defvar-local for compat with Emacs<24.3.
5
12015-02-07 Martin Rudalics <rudalics@gmx.at> 62015-02-07 Martin Rudalics <rudalics@gmx.at>
2 7
3 * frame.el (frame-notice-user-settings): Update 8 * frame.el (frame-notice-user-settings): Update
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."
3849 :type 'string 3849 :type 'string
3850 :group 'python) 3850 :group 'python)
3851 3851
3852(defvar-local python-check-custom-command nil 3852(defvar python-check-custom-command nil
3853 "Internal use.") 3853 "Internal use.")
3854;; XXX: Avoid `defvar-local' for compat with Emacs<24.3
3855(make-variable-buffer-local 'python-check-custom-command)
3854 3856
3855(defun python-check (command) 3857(defun python-check (command)
3856 "Check a Python file (default current buffer's file). 3858 "Check a Python file (default current buffer's file).