From: Juanma Barranquero Date: Wed, 8 Mar 2006 10:11:47 +0000 (+0000) Subject: (view-lossage): Remove trailing whitespace before inserting "\n". X-Git-Tag: emacs-pretest-22.0.90~3740 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e5fe3a6cc9c4962b68d1d408214f8e3d7b80353c;p=emacs.git (view-lossage): Remove trailing whitespace before inserting "\n". --- 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)))