projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8da6eb3
)
Fix bug out when indenting inserted images in shr
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 20 Sep 2020 11:03:20 +0000
(13:03 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 20 Sep 2020 11:03:20 +0000
(13:03 +0200)
* 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
patch
|
blob
|
history
diff --git
a/lisp/net/shr.el
b/lisp/net/shr.el
index 1f53bc4016dca1206ba509a3a7b54c98d47253c6..dcb64155d4bf6da26f853b4308830c4c65955974 100644
(file)
--- 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)