Mercurial > emacs
changeset 41021:c07719cfdfcd
(comment-normalize-vars): Handle a nil comment-padding.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 13 Nov 2001 20:17:26 +0000 |
parents | 67b7e18e1aca |
children | 32287cd29bca |
files | lisp/newcomment.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/newcomment.el Tue Nov 13 19:06:58 2001 +0000 +++ b/lisp/newcomment.el Tue Nov 13 20:17:26 2001 +0000 @@ -5,7 +5,7 @@ ;; Author: code extracted from Emacs-20's simple.el ;; Maintainer: Stefan Monnier <monnier@cs.yale.edu> ;; Keywords: comment uncomment -;; Revision: $Id: newcomment.el,v 1.36 2001/10/11 01:44:48 monnier Exp $ +;; Revision: $Id: newcomment.el,v 1.37 2001/10/12 22:37:51 monnier Exp $ ;; This file is part of GNU Emacs. @@ -220,6 +220,7 @@ (goto-char (point-min)) (and (forward-comment 1) (eobp)))))) ;; comment-padding + (unless comment-padding (setq comment-padding 0)) (when (integerp comment-padding) (setq comment-padding (make-string comment-padding ? ))) ;; comment markers