Mercurial > emacs
changeset 14379:ea15aa9bae36
(lisp-fill-paragraph): Use fill-paragraph once again for filling a comment.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 26 Jan 1996 19:47:32 +0000 |
parents | 2110ae3ef540 |
children | 874cd82cd2b4 |
files | lisp/emacs-lisp/lisp-mode.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el Fri Jan 26 19:47:15 1996 +0000 +++ b/lisp/emacs-lisp/lisp-mode.el Fri Jan 26 19:47:32 1996 +0000 @@ -742,7 +742,7 @@ (save-excursion (while (and (zerop (forward-line -1)) (looking-at "^[ \t]*;"))) - ;; We may have gone to far. Go forward again. + ;; We may have gone too far. Go forward again. (or (looking-at ".*;") (forward-line 1)) (point)) @@ -756,7 +756,7 @@ (let ((paragraph-start (concat paragraph-start "\\|[ \t;]*$")) (paragraph-separate (concat paragraph-start "\\|[ \t;]*$")) (fill-prefix comment-fill-prefix)) - (fill-region (point-min) (point-max) justify t)))) + (fill-paragraph justify)))) t))