Commit c9805d23 authored by Stefan Monnier's avatar Stefan Monnier

* lisp/newcomment.el (comment-normalize-vars): Better test validity of

comment-end-skip.
parent 872b1b16
2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
* newcomment.el (comment-normalize-vars): Better test validity of
comment-end-skip.
2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/float-sup.el (float-pi): New name for `pi'.
......
......@@ -318,7 +318,8 @@ the variables are properly set."
"+\\)[ \t]*")))
(unless (and comment-end-skip
;; In case comment-end has changed since last time.
(string-match comment-end-skip comment-end))
(string-match comment-end-skip
(if (string= "" comment-end) "\n" comment-end)))
(let ((ce (if (string= "" comment-end) "\n"
(comment-string-strip comment-end t t))))
(set (make-local-variable 'comment-end-skip)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment