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.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index b0102c55ffd..240cf8aff8c 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -3651,8 +3651,9 @@ returned as is."
3651 (let ((count 0)) 3651 (let ((count 0))
3652 (while (eq (char-before (- (point) count)) last-command-event) 3652 (while (eq (char-before (- (point) count)) last-command-event)
3653 (cl-incf count)) 3653 (cl-incf count))
3654 (= count 3))) 3654 (= count 3))
3655 (save-excursion (insert (make-string 3 last-command-event))))) 3655 (eq (char-after) last-command-event))
3656 (save-excursion (insert (make-string 2 last-command-event)))))
3656 3657
3657(defvar electric-indent-inhibit) 3658(defvar electric-indent-inhibit)
3658 3659