aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 849951a633a..2690d399411 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2285,6 +2285,7 @@ the if condition."
2285(eval-when-compile 2285(eval-when-compile
2286 ;; Define a user-level skeleton and add it to the abbrev table. 2286 ;; Define a user-level skeleton and add it to the abbrev table.
2287(defmacro def-python-skeleton (name &rest elements) 2287(defmacro def-python-skeleton (name &rest elements)
2288 (declare (indent 2))
2288 (let* ((name (symbol-name name)) 2289 (let* ((name (symbol-name name))
2289 (function (intern (concat "python-insert-" name)))) 2290 (function (intern (concat "python-insert-" name))))
2290 `(progn 2291 `(progn
@@ -2297,7 +2298,6 @@ the if condition."
2297 (define-skeleton ,function 2298 (define-skeleton ,function
2298 ,(format "Insert Python \"%s\" template." name) 2299 ,(format "Insert Python \"%s\" template." name)
2299 ,@elements))))) 2300 ,@elements)))))
2300(put 'def-python-skeleton 'lisp-indent-function 2)
2301 2301
2302;; From `skeleton-further-elements' set below: 2302;; From `skeleton-further-elements' set below:
2303;; `<': outdent a level; 2303;; `<': outdent a level;