[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 163ff19: Fix bug out when indenting inserted images in shr
From: |
Lars Ingebrigtsen |
Subject: |
master 163ff19: Fix bug out when indenting inserted images in shr |
Date: |
Sun, 20 Sep 2020 07:03:28 -0400 (EDT) |
branch: master
commit 163ff19cf3cd32bc3c50da56a587976121e3f1d2
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix bug out when indenting inserted images in shr
* lisp/net/shr.el (shr-fill-line): We may not have a
shr-indentation text property here. In that case, default to the
dynamically bound value.
---
lisp/net/shr.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 1f53bc4..dcb6415 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -714,7 +714,8 @@ size, and full-buffer size."
(forward-char 1))))
(defun shr-fill-line ()
- (let ((shr-indentation (get-text-property (point) 'shr-indentation))
+ (let ((shr-indentation (or (get-text-property (point) 'shr-indentation)
+ shr-indentation))
(continuation (get-text-property
(point) 'shr-continuation-indentation))
start)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 163ff19: Fix bug out when indenting inserted images in shr,
Lars Ingebrigtsen <=