projects
/
gnus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(shr-tag-p): Don't insert newlines at the start of the buffer.
[gnus]
/
lisp
/
shr.el
diff --git
a/lisp/shr.el
b/lisp/shr.el
index
2efd740
..
af2a5ef
100644
(file)
--- a/
lisp/shr.el
+++ b/
lisp/shr.el
@@
-89,8
+89,9
@@
fit these criteria."
(shr-descend sub)))))
(defun shr-tag-p (cont)
- (shr-ensure-newline)
- (insert "\n")
+ (unless (bobp)
+ (shr-ensure-newline)
+ (insert "\n"))
(shr-generic cont)
(insert "\n"))