summaryrefslogtreecommitdiffstats
path: root/Misc/python-mode.el
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1996-12-17 21:56:10 (GMT)
committerBarry Warsaw <barry@python.org>1996-12-17 21:56:10 (GMT)
commit5c8bef1888076e5f15ba4f637dd86946edc04d53 (patch)
tree24989a8d842f8451be36b901c26c42a66f7aeda9 /Misc/python-mode.el
parentc88c9cb23fe81082d431558fbc3fb918880cd896 (diff)
downloadcpython-5c8bef1888076e5f15ba4f637dd86946edc04d53.zip
cpython-5c8bef1888076e5f15ba4f637dd86946edc04d53.tar.gz
cpython-5c8bef1888076e5f15ba4f637dd86946edc04d53.tar.bz2
(python-mode): added comment-end definitions.
Diffstat (limited to 'Misc/python-mode.el')
-rw-r--r--Misc/python-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index 846c9ab..545d893 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -682,6 +682,7 @@ py-beep-if-tab-change\t\tring the bell if tab-width is changed"
(make-local-variable 'paragraph-start)
(make-local-variable 'require-final-newline)
(make-local-variable 'comment-start)
+ (make-local-variable 'comment-end)
(make-local-variable 'comment-start-skip)
(make-local-variable 'comment-column)
(make-local-variable 'indent-region-function)
@@ -697,6 +698,7 @@ py-beep-if-tab-change\t\tring the bell if tab-width is changed"
paragraph-start "^[ \t]*$"
require-final-newline t
comment-start "# "
+ comment-end ""
comment-start-skip "# *"
comment-column 40
indent-region-function 'py-indent-region