[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b331819: Merge from origin/emacs-28
From: |
Stefan Kangas |
Subject: |
master b331819: Merge from origin/emacs-28 |
Date: |
Sat, 11 Dec 2021 00:56:36 -0500 (EST) |
branch: master
commit b3318193021ab47c51910dcececde2add881653f
Merge: fb11575 5708da4
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
Merge from origin/emacs-28
5708da48d1 Revert "Make `M-x run-python' select the window again"
aa2872a127 Make `M-x run-python' select the window again
c8e19b3a84 Don't bug out on certain empty elements with ids
---
lisp/net/shr.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 829cf15..5f31f03 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -610,7 +610,7 @@ size, and full-buffer size."
(insert ? )
(shr-mark-fill start))
(put-text-property (1- (point)) (point) 'display ""))
- (put-text-property start (1+ start) 'shr-target-id id))
+ (put-text-property (1- (point)) (point) 'shr-target-id id))
;; If style is set, then this node has set the color.
(when style
(shr-colorize-region