Remove trailing whitespace after HTML rendering a file
Those whitespaces are neither necessary nor helpful.
This commit is contained in:
parent
0a76969a95
commit
83421c072a
|
@ -460,7 +460,8 @@ Does not replace CRLF with CRCRLF, and so on."
|
||||||
(interactive "f")
|
(interactive "f")
|
||||||
(unless (file-readable-p file)
|
(unless (file-readable-p file)
|
||||||
(user-error "Cannot read file: %s" file))
|
(user-error "Cannot read file: %s" file))
|
||||||
(shr-render-buffer (find-file-noselect file)))
|
(shr-render-buffer (find-file-noselect file))
|
||||||
|
(delete-trailing-whitespace))
|
||||||
|
|
||||||
|
|
||||||
;; Base45 Decoding
|
;; Base45 Decoding
|
||||||
|
|
Loading…
Reference in New Issue