aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorNoam Postavsky2016-06-04 13:32:50 -0400
committerNoam Postavsky2016-06-14 08:08:01 -0400
commit2f523c15801366d269cb4a526906e018f8cd713f (patch)
treea09dde37a06ab0693bd518ad8b9021df93c170b0 /lisp/progmodes/python.el
parent090fb90d96046d7f9e4d70b9d7b14894e2a187a5 (diff)
downloademacs-2f523c15801366d269cb4a526906e018f8cd713f.tar.gz
emacs-2f523c15801366d269cb4a526906e018f8cd713f.zip
Make python.el work in Emacs 24
* lisp/progmodes/python.el: Bump version. (python-define-auxiliary-skeleton): Only use format-message if fbound (Bug#23126).
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 343023f7a09..d4089a3ea92 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Fabián E. Gallina <fgallina@gnu.org> 5;; Author: Fabián E. Gallina <fgallina@gnu.org>
6;; URL: https://github.com/fgallina/python.el 6;; URL: https://github.com/fgallina/python.el
7;; Version: 0.25.1 7;; Version: 0.25.2
8;; Package-Requires: ((emacs "24.1") (cl-lib "1.0")) 8;; Package-Requires: ((emacs "24.1") (cl-lib "1.0"))
9;; Maintainer: emacs-devel@gnu.org 9;; Maintainer: emacs-devel@gnu.org
10;; Created: Jul 2010 10;; Created: Jul 2010
@@ -4045,8 +4045,8 @@ The skeleton will be bound to python-skeleton-NAME."
4045 (declare (indent 2)) 4045 (declare (indent 2))
4046 (let* ((name (symbol-name name)) 4046 (let* ((name (symbol-name name))
4047 (function-name (intern (concat "python-skeleton--" name))) 4047 (function-name (intern (concat "python-skeleton--" name)))
4048 (msg (format-message 4048 (msg (funcall (if (fboundp 'format-message) #'format-message #'format)
4049 "Add `%s' clause? " name))) 4049 "Add `%s' clause? " name)))
4050 (when (not skel) 4050 (when (not skel)
4051 (setq skel 4051 (setq skel
4052 `(< ,(format "%s:" name) \n \n 4052 `(< ,(format "%s:" name) \n \n