Browse Source

Remove trailing whitespace after HTML rendering a file

Those whitespaces are neither necessary nor helpful.
master
Daniel Borchmann 5 months ago
parent
commit
83421c072a
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
  1. 3
      site-lisp/db-utils.el

3
site-lisp/db-utils.el

@ -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))
(delete-trailing-whitespace))
;; Base45 Decoding

Loading…
Cancel
Save