]> code.delx.au - gnu-emacs/commit
Remove trailing blank lines in shr
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 20 Mar 2016 11:52:28 +0000 (12:52 +0100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 20 Mar 2016 11:52:28 +0000 (12:52 +0100)
commit35d58020b6e173b137429786d174ffdb8894a812
tree9afce62981d0c90e8fe3095b294a07e1892c66f6
parent0b7836dda668a64577778d05ce02d65301bb631b
Remove trailing blank lines in shr

* lisp/net/shr.el (shr--remove-blank-lines-at-the-end): New function.
(shr-insert-document): Use it to remove trailing blank lines
at the end of documents, since these never seem to be very useful.
lisp/net/shr.el