]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
(python-mode): comment-multi-line must be nil for Emacs 19
authorBarry Warsaw <barry@python.org>
Thu, 14 Sep 1995 20:01:14 +0000 (20:01 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 14 Sep 1995 20:01:14 +0000 (20:01 +0000)
Misc/python-mode.el

index eb947593621a438d62fa1925410a501bc61d037c..c84ede4e15f90adc22f893811eea4781e24c18d4 100644 (file)
@@ -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))