emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 4a423ff: Fix info mode fontification of built-in (*note Built-ins


From: Lars Ingebrigtsen
Subject: master 4a423ff: Fix info mode fontification of built-in (*note Built-ins::)
Date: Wed, 9 Dec 2020 10:07:59 -0500 (EST)

branch: master
commit 4a423ffb3b1ff2a1be6d98ad022f9743bba967f7
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix info mode fontification of built-in (*note Built-ins::)
    
    * lisp/info.el (Info-fontify-node): Don't interpret things like
    "built-in" as being the word "in" (bug#34661).
---
 lisp/info.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/info.el b/lisp/info.el
index c3684de..203f5db 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -4790,10 +4790,10 @@ first line or header line, and for breadcrumb links.")
                    ;; an end of sentence
                    (skip-syntax-backward " ("))
                   (setq other-tag
-                       (cond ((save-match-data (looking-back "\\<see"
+                       (cond ((save-match-data (looking-back "\\(^\\| \\)see"
                                                               (- (point) 3)))
                               "")
-                             ((save-match-data (looking-back "\\<in"
+                             ((save-match-data (looking-back "\\(^\\| \\)in"
                                                               (- (point) 2)))
                               "")
                              ((memq (char-before) '(nil ?\. ?! ??))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]