惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
Google DeepMind News
Google DeepMind News
S
SegmentFault 最新的问题
Project Zero
Project Zero
D
DataBreaches.Net
I
InfoQ
L
Lohrmann on Cybersecurity
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
酷 壳 – CoolShell
酷 壳 – CoolShell
Stack Overflow Blog
Stack Overflow Blog
The Register - Security
The Register - Security
Recorded Future
Recorded Future
Vercel News
Vercel News
博客园 - 司徒正美
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
I
Intezer
The Hacker News
The Hacker News
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
P
Proofpoint News Feed
Help Net Security
Help Net Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Scott Helme
Scott Helme
T
Threatpost
爱范儿
爱范儿
N
Netflix TechBlog - Medium
D
Docker
云风的 BLOG
云风的 BLOG
C
Cisco Blogs
K
Kaspersky official blog
H
Help Net Security
S
Secure Thoughts
T
Threat Research - Cisco Blogs
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
Security @ Cisco Blogs
Cyberwarzone
Cyberwarzone
N
News and Events Feed by Topic
G
Google Developers Blog
Forbes - Security
Forbes - Security
博客园 - 三生石上(FineUI控件)
博客园 - 叶小钗
B
Blog
Google DeepMind News
Google DeepMind News
Recent Announcements
Recent Announcements
Simon Willison's Weblog
Simon Willison's Weblog
S
Securelist
P
Privacy International News Feed
Spread Privacy
Spread Privacy
The Last Watchdog
The Last Watchdog

elpa/gnu.git, branch externals/auctex

Fix 'syntax-propertize because of narrowing!' error - elpa/gnu.git elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA ; Fix description about `LaTeX-expl3-syntax-table' - elpa/gnu.git Delete compat function `TeX-always' - elpa/gnu.git Fix fontification of verb macros followed by space - elpa/gnu.git elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA Add new style/lineno.el - elpa/gnu.git Record workaround for autonum previews - elpa/gnu.git elpa/gnu.git - GNU ELPA Update style/eso-pic.el to package v3.0e ; * style/contract.el ("contract"): Speed up the additions. - elpa/gnu.git ; * style/contract.el ("contract"): Speed up the additions. ; * doc/faq.texi: Provide a more accessible Lisp form. (Bug#81034) - elpa/gnu.git ; * doc/faq.texi: Provide a more accessible Lisp form. (Bug#81034) ; * style/expl3.el (TeX-arg-expl3-macro): Fix docstring. - elpa/gnu.git ; * style/expl3.el (TeX-arg-expl3-macro): Fix docstring. Update style/simpleicons.el to package v16.17.0 - elpa/gnu.git Update style/simpleicons.el to package v16.17.0 elpa/gnu.git - GNU ELPA * style/contract.el ("contract"): Fix usage of \refParN. Improve matching of header end/trailer start in ConTeXt - elpa/gnu.git Improve matching of header end/trailer start in ConTeXt elpa/gnu.git - GNU ELPA Improve style/standalone.el elpa/gnu.git - GNU ELPA Update style/lua-unicode-math.el to package v0.8 Update style/babel.el to package v26.4 - elpa/gnu.git * style/babel-german.el ("babel-german"): Add missing macros. - elpa/gnu.git Update style/simpleicons.el to package v16.12.0 - elpa/gnu.git elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA Add compatibility shim for obsolete preview option
Activate new xref backend - elpa/gnu.git
Arash Esbati · 2026-07-03 · via elpa/gnu.git, branch externals/auctex
authorArash Esbati <arash@gnu.org>2026-07-03 12:00:51 +0200
committerArash Esbati <arash@gnu.org>2026-07-03 14:10:00 +0200
commit18623e2704230a1c8e4d5277962755c9fafe318c (patch)
tree705ef3d4934d4f736f479461e9497fc2728fe70e
parentf2b02da5e97d1aab3bb5ff7b0447e0a572cf58e2 (diff)

Activate new xref backend

* tex.el (TeX-mode): Activate the new xref backend provided in Emacs 31 as suggested by David Fussner <dfussner@googlemail.com>.

-rw-r--r--tex.el5

1 files changed, 5 insertions, 0 deletions

diff --git a/tex.el b/tex.el
index 7bbd7a07a78..545d30f95e6 100644
--- a/tex.el
+++ b/tex.el

@@ -64,6 +64,7 @@

(declare-function comint-mode "ext:comint" nil)

(declare-function tex--prettify-symbols-compose-p "ext:tex-mode"

(start end match))

+(declare-function tex--xref-backend "ext:tex-mode" nil)

(declare-function gnuserv-start "ext:gnuserv"

(&optional leave-dead) t)

@@ -3871,6 +3872,10 @@ Not intended for direct use for user."

(add-function :override (local 'prettify-symbols-compose-predicate)

#'TeX--prettify-symbols-compose-p)

+ ;; Activate new xref backend introduced in Emacs 31:

+ (when (>= emacs-major-version 31)

+ (add-hook 'xref-backend-functions #'tex--xref-backend nil t))

+

;; Standard Emacs completion-at-point support

(add-hook 'completion-at-point-functions

#'TeX--completion-at-point nil t)