;; Output the indented administrative bits.
(with-current-buffer buffer
(help-fns--run-describe-functions
- help-fns-describe-variable-functions variable)))
+ help-fns-describe-variable-functions variable))
+
+ (with-current-buffer standard-output
+ ;; If we have the long value of the variable at the
+ ;; end, remove superfluous empty lines before it.
+ (unless (eobp)
+ (while (looking-at-p "\n")
+ (delete-char 1)))))
(with-current-buffer standard-output
;; Return the text we displayed.