(view-lossage): Remove trailing whitespace before inserting "\n".
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 8 Mar 2006 10:11:47 +0000 (10:11 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 8 Mar 2006 10:11:47 +0000 (10:11 +0000)
lisp/help.el

index a39d344..5eef13f 100644 (file)
@@ -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)))
 
 \f