Mercurial > emacs
changeset 69335:e7e05b5e771f
(view-lossage): Remove trailing whitespace before inserting "\n".
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 08 Mar 2006 10:11:47 +0000 |
parents | f6d157f96950 |
children | bb8e1e07b59b |
files | lisp/help.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/help.el Wed Mar 08 03:25:26 2006 +0000 +++ b/lisp/help.el Wed Mar 08 10:11:47 2006 +0000 @@ -429,8 +429,9 @@ (with-current-buffer standard-output (goto-char (point-min)) (while (progn (move-to-column 50) (not (eobp))) - (search-forward " " nil t) - (insert "\n"))) + (when (search-forward " " nil t) + (delete-char -1)) + (insert "\n"))) (print-help-return-message)))