changeset 34459:1007fb1b5df9

(comment-indent-new-line): Use delete-horizontal-space (so as to obey the field property in the minibuffer).
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 11 Dec 2000 21:41:35 +0000
parents 1f4c4ece46a0
children 872edce15ab6
files lisp/newcomment.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/newcomment.el	Mon Dec 11 21:39:52 2000 +0000
+++ b/lisp/newcomment.el	Mon Dec 11 21:41:35 2000 +0000
@@ -6,7 +6,7 @@
 ;; Maintainer: Stefan Monnier <monnier@cs.yale.edu>
 ;; Keywords: comment uncomment
 ;; Version: $Name:  $
-;; Revision: $Id: newcomment.el,v 1.26 2000/11/29 05:11:01 monnier Exp $
+;; Revision: $Id: newcomment.el,v 1.27 2000/12/06 19:54:37 fx Exp $
 
 ;; This file is part of GNU Emacs.
 
@@ -928,8 +928,7 @@
 			  (setq comin (point))))))
 
       ;; Now we know we should auto-fill.
-      (delete-region (progn (skip-chars-backward " \t") (point))
-		     (progn (skip-chars-forward  " \t") (point)))
+      (delete-horizontal-space)
       (if soft (insert-and-inherit ?\n) (newline 1))
       (if fill-prefix
 	  (progn