* newcomment.el (comment-normalize-vars): If prompting for
comment-start, set comment-start-skip too.
Fixes: debbugs:8424
+2011-09-18 Chong Yidong <cyd@stupidchicken.com>
+
+ * newcomment.el (comment-normalize-vars): If prompting for
+ comment-start, set comment-start-skip too (Bug#8424).
+
2011-09-18 Johan Bockgård <bojohan@gnu.org>
* icomplete.el: Fix previous fix of Bug#5849.
(let ((cs (read-string "No comment syntax is defined. Use: ")))
(if (zerop (length cs))
(error "No comment syntax defined")
- (set (make-local-variable 'comment-start) cs))))
+ (set (make-local-variable 'comment-start) cs)
+ (set (make-local-variable 'comment-start-skip) cs))))
;; comment-use-syntax
(when (eq comment-use-syntax 'undecided)
(set (make-local-variable 'comment-use-syntax)