diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-12-09 16:07:50 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-12-09 16:07:54 +0100 |
commit | 4a423ffb3b1ff2a1be6d98ad022f9743bba967f7 (patch) | |
tree | d8264d9a7a7039bcd46f639a8d042f2187183595 /lisp/info.el | |
parent | beebd2a85eeab5b977ca2de8ad32784f9d8bdd51 (diff) | |
download | emacs-4a423ffb3b1ff2a1be6d98ad022f9743bba967f7.tar.gz emacs-4a423ffb3b1ff2a1be6d98ad022f9743bba967f7.tar.bz2 emacs-4a423ffb3b1ff2a1be6d98ad022f9743bba967f7.zip |
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).
Diffstat (limited to 'lisp/info.el')
-rw-r--r-- | lisp/info.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/info.el b/lisp/info.el index c3684deb96b..203f5db96d2 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 ?\. ?! ??)) |