Commit adf9c994 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(comment-indent-new-line): Use delete-horizontal-space

(so as to obey the field property in the minibuffer).
parent 4b0cd42d
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
......
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