Remove trailing whitespace after HTML rendering a file

Those whitespaces are neither necessary nor helpful.
This commit is contained in:
Daniel Borchmann 2022-02-06 20:57:36 +01:00
parent 0a76969a95
commit 83421c072a
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 2 additions and 1 deletions

View File

@ -460,7 +460,8 @@ Does not replace CRLF with CRCRLF, and so on."
(interactive "f")
(unless (file-readable-p file)
(user-error "Cannot read file: %s" file))
(shr-render-buffer (find-file-noselect file)))
(shr-render-buffer (find-file-noselect file))
;; Base45 Decoding