(comment-indent-new-line): Use delete-horizontal-space
(so as to obey the field property in the minibuffer).
This commit is contained in:
parent
4b0cd42df2
commit
adf9c99461
2 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,8 @@
|
|||
2000-12-11 Stefan Monnier <monnier@cs.yale.edu>
|
||||
|
||||
* newcomment.el (comment-indent-new-line): Use delete-horizontal-space
|
||||
(so as to obey the field property in the minibuffer).
|
||||
|
||||
* obsolete/c-mode.el: Moved from lisp/progmodes.
|
||||
* obsolete/auto-show.el: Moved from lisp.
|
||||
* obsolete/ooutline.el: Moved from lisp/textmodes.
|
||||
|
|
|
@ -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 @@ unless optional argument SOFT is non-nil."
|
|||
(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
|
||||
|
|
Loading…
Add table
Reference in a new issue