From cc035c38acbca6c0fcf4fc6dbdf56966d3fbeb0b Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Wed, 6 Oct 2010 13:59:47 +0200 Subject: [PATCH] (shr-insert): Get 'space transition right. --- lisp/ChangeLog | 2 ++ lisp/shr.el | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ba4f460a0..5c625f923 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2010-10-06 Lars Magne Ingebrigtsen + * shr.el (shr-insert): Get 'space transition right. + * nnimap.el (nnimap-open-connection): Prepare to support open-gnutls-stream. diff --git a/lisp/shr.el b/lisp/shr.el index 3b9709cc4..e0bb868f4 100644 --- a/lisp/shr.el +++ b/lisp/shr.el @@ -175,7 +175,8 @@ redirects somewhere else." column) (when (and (string-match "\\`[ \t\n]" text) (not (bolp))) - (insert " ")) + (insert " ") + (setq shr-state 'space)) (dolist (elem (split-string text)) (setq column (current-column)) (when (> column 0) -- 2.25.1