diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2006-03-08 10:11:47 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2006-03-08 10:11:47 +0000 |
commit | e5fe3a6cc9c4962b68d1d408214f8e3d7b80353c (patch) | |
tree | 4556bde7935941e063e3a9e8abb6282ec6f9c2b6 /lisp/help.el | |
parent | 4cdffedfae096a34769f29b455ecc3a78f13fa24 (diff) | |
download | emacs-e5fe3a6cc9c4962b68d1d408214f8e3d7b80353c.tar.gz |
(view-lossage): Remove trailing whitespace before inserting "\n".
Diffstat (limited to 'lisp/help.el')
-rw-r--r-- | lisp/help.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/help.el b/lisp/help.el index a39d344dc04..5eef13ff9c9 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -429,8 +429,9 @@ To record all your input on a file, use `open-dribble-file'." (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))) |