summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian-control-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian-control-mode.el b/debian-control-mode.el
index 095dfb1..cc8ac5e 100644
--- a/debian-control-mode.el
+++ b/debian-control-mode.el
@@ -236,7 +236,7 @@
(set-syntax-table debian-control-syntax-table)
;; Comments
(make-local-variable 'comment-start-skip) ;Need this for font-lock...
- (setq comment-start-skip "\\(^\\|\\s-\\);?#+ *") ;;From perl-mode
+ (setq comment-start-skip "^#+\s-*")
(make-local-variable 'comment-start)
(make-local-variable 'comment-end)
(setq comment-start "#"