summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-22 10:09:31 (GMT)
committerGuido van Rossum <guido@python.org>1995-03-22 10:09:31 (GMT)
commit2e0d2dd23ae8173c94d485593b24b98c52b0d96a (patch)
tree107a4e07fc41b50e2c19ed22130566f7d8976b5b /Misc
parent684ed9891bac78762be695badc2f3ae1c51232ae (diff)
downloadcpython-2e0d2dd23ae8173c94d485593b24b98c52b0d96a.zip
cpython-2e0d2dd23ae8173c94d485593b24b98c52b0d96a.tar.gz
cpython-2e0d2dd23ae8173c94d485593b24b98c52b0d96a.tar.bz2
fix typo in electric colon
Diffstat (limited to 'Misc')
-rw-r--r--Misc/python-mode-old.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/Misc/python-mode-old.el b/Misc/python-mode-old.el
index fe38f7c..8700503 100644
--- a/Misc/python-mode-old.el
+++ b/Misc/python-mode-old.el
@@ -6,8 +6,8 @@
;; 1992-1994 Tim Peters <tim@ksr.com>
;; Maintainer: bwarsaw@cnri.reston.va.us
;; Created: Feb 1992
-;; Version: 2.18
-;; Last Modified: 1995/03/15 18:23:16
+;; Version: 2.19
+;; Last Modified: 1995/03/20 18:32:14
;; Keywords: python editing language major-mode
;; This software is provided as-is, without express or implied
@@ -69,7 +69,7 @@
;; LCD Archive Entry:
;; python-mode|Barry A. Warsaw|bwarsaw@cnri.reston.va.us
;; |Major mode for editing Python programs
-;; |1995/03/15 18:23:16|2.18|
+;; |1995/03/20 18:32:14|2.19|
;;; Code:
@@ -431,7 +431,7 @@ argument is provided, that many colons are inserted non-electrically."
(indent (py-compute-indentation)))
(if (and (not arg)
(py-outdent-p)
- (= indent (progn
+ (= indent (save-excursion
(forward-line -1)
(py-compute-indentation)))
)
@@ -1910,7 +1910,7 @@ local bindings to py-newline-and-indent."))
(setq zmacs-region-stays t)))
-(defconst py-version "2.18"
+(defconst py-version "2.19"
"`python-mode' version number.")
(defconst py-help-address "bwarsaw@cnri.reston.va.us"
"Address accepting submission of bug reports.")