Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2e0d2dd

Browse files
committed
fix typo in electric colon
1 parent 684ed98 commit 2e0d2dd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Misc/python-mode-old.el

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
;; 1992-1994 Tim Peters <[email protected]>
77
;; Maintainer: [email protected]
88
;; Created: Feb 1992
9-
;; Version: 2.18
10-
;; Last Modified: 1995/03/15 18:23:16
9+
;; Version: 2.19
10+
;; Last Modified: 1995/03/20 18:32:14
1111
;; Keywords: python editing language major-mode
1212

1313
;; This software is provided as-is, without express or implied
@@ -69,7 +69,7 @@
6969
;; LCD Archive Entry:
7070
;; python-mode|Barry A. Warsaw|[email protected]
7171
;; |Major mode for editing Python programs
72-
;; |1995/03/15 18:23:16|2.18|
72+
;; |1995/03/20 18:32:14|2.19|
7373

7474
;;; Code:
7575

@@ -431,7 +431,7 @@ argument is provided, that many colons are inserted non-electrically."
431431
(indent (py-compute-indentation)))
432432
(if (and (not arg)
433433
(py-outdent-p)
434-
(= indent (progn
434+
(= indent (save-excursion
435435
(forward-line -1)
436436
(py-compute-indentation)))
437437
)
@@ -1910,7 +1910,7 @@ local bindings to py-newline-and-indent."))
19101910
(setq zmacs-region-stays t)))
19111911

19121912

1913-
(defconst py-version "2.18"
1913+
(defconst py-version "2.19"
19141914
"`python-mode' version number.")
19151915
(defconst py-help-address "[email protected]"
19161916
"Address accepting submission of bug reports.")

0 commit comments

Comments
 (0)