[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 27b8638: Re-fix previous Info-fontify-node change
From: |
Lars Ingebrigtsen |
Subject: |
master 27b8638: Re-fix previous Info-fontify-node change |
Date: |
Thu, 11 Mar 2021 11:50:10 -0500 (EST) |
branch: master
commit 27b8638409138a02577d2dd43e4cb59540f9174f
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Re-fix previous Info-fontify-node change
* lisp/info.el (Info-fontify-node): Re-fix previous fix here
(bug#34661) by fixing an off-by-one error in the `looking-back'.
---
lisp/info.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/info.el b/lisp/info.el
index e7324ef..dd7e16f 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -4797,10 +4797,10 @@ first line or header line, and for breadcrumb links.")
(skip-syntax-backward " ("))
(setq other-tag
(cond ((save-match-data (looking-back "\\(^\\| \\)see"
- (- (point) 3)))
+ (- (point) 4)))
"")
((save-match-data (looking-back "\\(^\\| \\)in"
- (- (point) 2)))
+ (- (point) 3)))
"")
((memq (char-before) '(nil ?\. ?! ??))
"See ")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 27b8638: Re-fix previous Info-fontify-node change,
Lars Ingebrigtsen <=