Commit 1ac1fa96 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(generic-mode-set-comments): Use "" rather than nil for comment-end.

parent e2b8a830
2001-03-29 Stefan Monnier <monnier@cs.yale.edu>
* generic.el (generic-mode-set-comments): Use "" rather than nil
for comment-end.
2001-03-29 Gerd Moellmann <gerd@gnu.org>
 
* emacs-lisp/advice.el (ad-make-advised-definition): Call
interactive-form to obtain the interactive spec of subrs.
* emacs-lisp/advice.el (ad-make-advised-definition):
Call interactive-form to obtain the interactive spec of subrs.
 
* subr.el (interactive-form): New function.
 
......
......@@ -309,7 +309,7 @@ Some generic modes are defined in `generic-x.el'."
(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
......
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