summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1995-09-14 20:01:14 (GMT)
committerBarry Warsaw <barry@python.org>1995-09-14 20:01:14 (GMT)
commit57697af9b01af0e3a55341ffcc5121aea568437c (patch)
treecc5ff382d2fabb28f23c2d58c42a0d551ac127a0
parentc01c5c859cf3dda270979fd023a2989488f1894b (diff)
downloadcpython-57697af9b01af0e3a55341ffcc5121aea568437c.zip
cpython-57697af9b01af0e3a55341ffcc5121aea568437c.tar.gz
cpython-57697af9b01af0e3a55341ffcc5121aea568437c.tar.bz2
(python-mode): comment-multi-line must be nil for Emacs 19
-rw-r--r--Misc/python-mode.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index eb94759..c84ede4 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -407,6 +407,9 @@ py-beep-if-tab-change\tring the bell if tab-width is changed"
mode-name "Python"
local-abbrev-table python-mode-abbrev-table)
(use-local-map py-mode-map)
+ ;; Emacs 19 requires this
+ (if (or py-this-is-lucid-emacs-p py-this-is-emacs-19-p)
+ (setq comment-multi-line nil))
;; BAW -- style...
(mapcar (function (lambda (x)
(make-local-variable (car x))