Mercurial > emacs
diff lisp/generic.el @ 37058:a2e5f00c1254
(generic-mode-set-comments): Use "" rather than nil for comment-end.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 29 Mar 2001 14:16:15 +0000 |
parents | 5eb6597319ec |
children | b174db545cfd |
line wrap: on
line diff
--- a/lisp/generic.el Thu Mar 29 14:11:46 2001 +0000 +++ b/lisp/generic.el Thu Mar 29 14:16:15 2001 +0000 @@ -309,7 +309,7 @@ (concat comment-start-skip "\\|" (regexp-quote start) "+\\s-*"))) ;; First comment-style (setq comment-start start) - (setq comment-end (unless (string-equal end "\n") end)) + (setq comment-end (if (string-equal end "\n") "" end)) (setq comment-start-skip (concat (regexp-quote start) "+\\s-*"))) ;; Reuse comstyles if necessary