emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 2f523c1: Make python.el work in Emacs 24


From: Noam Postavsky
Subject: [Emacs-diffs] master 2f523c1: Make python.el work in Emacs 24
Date: Tue, 14 Jun 2016 12:10:53 +0000 (UTC)

branch: master
commit 2f523c15801366d269cb4a526906e018f8cd713f
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    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).
---
 lisp/progmodes/python.el |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 343023f..d4089a3 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -4,7 +4,7 @@
 
 ;; Author: Fabián E. Gallina <address@hidden>
 ;; URL: https://github.com/fgallina/python.el
-;; Version: 0.25.1
+;; Version: 0.25.2
 ;; Package-Requires: ((emacs "24.1") (cl-lib "1.0"))
 ;; Maintainer: address@hidden
 ;; Created: Jul 2010
@@ -4045,8 +4045,8 @@ The skeleton will be bound to python-skeleton-NAME."
   (declare (indent 2))
   (let* ((name (symbol-name name))
          (function-name (intern (concat "python-skeleton--" name)))
-         (msg (format-message
-               "Add `%s' clause? " name)))
+         (msg (funcall (if (fboundp 'format-message) #'format-message #'format)
+                       "Add `%s' clause? " name)))
     (when (not skel)
       (setq skel
             `(< ,(format "%s:" name) \n \n



reply via email to

[Prev in Thread] Current Thread [Next in Thread]