summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-12-27 13:12:04 +0000
committerwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-12-27 13:12:04 +0000
commitfd5c42c0f1b05949777718b6d033af521c5f3e70 (patch)
treea0bf6dc03bb6332243fc59cd2c6e2621382ab6a9 /tools
parent45b9a8f82e1c89c5ddef5fd7a10827f77c107f49 (diff)
downloaddocutils-fd5c42c0f1b05949777718b6d033af521c5f3e70.tar.gz
recognize empty comments
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4232 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'tools')
-rw-r--r--tools/editors/emacs/rst.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editors/emacs/rst.el b/tools/editors/emacs/rst.el
index cd4277837..88a74e2fe 100644
--- a/tools/editors/emacs/rst.el
+++ b/tools/editors/emacs/rst.el
@@ -2408,7 +2408,7 @@ Turning on `rst-mode' calls the normal hooks `text-mode-hook' and
(list 0 rst-comment-face 'append)))))
(append
(list
- (concat re-bol "\\(" re-emt "\\)\\(\\s *\\)$")
+ (concat re-bol "\\(" re-emt "\\)\\(\\s *\\)\\?$")
(list 1 rst-comment-face)
(list 2 rst-comment-face))
(if rst-mode-lazy