Mercurial > emacs
changeset 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 | 5522dea1343b |
children | 0a90acd57603 |
files | lisp/generic.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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