summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-04-28 08:31:52 (GMT)
committerGuido van Rossum <guido@python.org>1994-04-28 08:31:52 (GMT)
commit581d172d61a45707c7ddd7bc02aef632f27a20fa (patch)
tree1ad18064ab5dee63d9766db91ed77245555dc54a /Misc
parent9274e2d0e9a07c20a9ee8ab8e79e7d0d037615c0 (diff)
downloadcpython-581d172d61a45707c7ddd7bc02aef632f27a20fa.zip
cpython-581d172d61a45707c7ddd7bc02aef632f27a20fa.tar.gz
cpython-581d172d61a45707c7ddd7bc02aef632f27a20fa.tar.bz2
Now it's 1.09. Only change from 1.08az is to make kill-emacs-hook work under Lucid
Emacs.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/python-mode-old.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/Misc/python-mode-old.el b/Misc/python-mode-old.el
index c61872a..58b9303 100644
--- a/Misc/python-mode-old.el
+++ b/Misc/python-mode-old.el
@@ -1,4 +1,4 @@
-;;; Major mode for editing Python programs, version 1.08az
+;;; Major mode for editing Python programs, version 1.09
;; by: Tim Peters <tim@ksr.com>
;; after an original idea by: Michael A. Guravage
;;
@@ -116,7 +116,7 @@ Currently-active file is at the head of the list.")
(define-abbrev-table 'python-mode-abbrev-table nil)
;; arrange to kill temp files no matter what
-(if py-this-is-emacs-19-p
+(if (or py-this-is-emacs-19-p py-this-is-lucid-emacs-p)
(add-hook 'kill-emacs-hook 'py-kill-emacs-hook)
;; have to trust that other people are as respectful of our hook
;; fiddling as we are of theirs
@@ -1634,7 +1634,7 @@ local bindings to py-newline-and-indent."))
(while py-file-queue
(py-delete-file-silently (car py-file-queue))
(setq py-file-queue (cdr py-file-queue)))
- (if (not py-this-is-emacs-19-p)
+ (if (not (or py-this-is-lucid-emacs-p py-this-is-emacs-19-p))
;; run the hook we inherited, if any
(and py-inherited-kill-emacs-hook
(funcall py-inherited-kill-emacs-hook))))