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

推荐订阅源

Microsoft Security Blog
Microsoft Security Blog
Jina AI
Jina AI
量子位
博客园 - 叶小钗
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
S
SegmentFault 最新的问题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
小众软件
小众软件
Hugging Face - Blog
Hugging Face - Blog
雷峰网
雷峰网
博客园 - 聂微东
美团技术团队
Last Week in AI
Last Week in AI
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园_首页
V
Visual Studio Blog
大猫的无限游戏
大猫的无限游戏
The Cloudflare Blog

elpa/gnu.git, branch externals/auctex

Release GNU AUCTeX 14.2.0 - elpa/gnu.git * latex.el (LaTeX-what-macro): Fix chars to skip backwards. - elpa/gnu.git * tex-ispell.el: Consolidate regexp for tabular environments. - elpa/gnu.git ; * latex.el (LaTeX-what-macro): Fix last change. - elpa/gnu.git * latex.el (LaTeX-what-macro): Improve macro recognition. - elpa/gnu.git Preserve `crm--choose-completion-string' - elpa/gnu.git - GNU ELPA Accept '-' as macro modifier - elpa/gnu.git Add new styles - elpa/gnu.git ; * tex-info.el (outline-heading-alist): Silence the compiler. - elpa/gnu.git Update style/simpleicons.el to package v16.29.0 - elpa/gnu.git Update NEWS.org for new preview feature - elpa/gnu.git Robustify check for escaped math switches/togglers - elpa/gnu.git Fix custom prompt with a default-value - elpa/gnu.git Fix prompt with a default-value - elpa/gnu.git Make `TeX-listify' an obsolete alias - elpa/gnu.git Fix 'syntax-propertize because of narrowing!' error - elpa/gnu.git Update style/ltx-talk.el to class v0.6.0 - elpa/gnu.git elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA Return context for RefTeX also for macros - elpa/gnu.git ; Fix last change - elpa/gnu.git Add in-buffer completion for citation keys - elpa/gnu.git ; Adjust Copyright years - elpa/gnu.git Improve query of the optional float placement - elpa/gnu.git Sort predefined environment hooks - elpa/gnu.git Sort predefined hooks - elpa/gnu.git Allow additional properties for in-buffer completion - elpa/gnu.git
Delete compat function `TeX-always' - elpa/gnu.git
Arash Esbati · 2026-06-19 · via elpa/gnu.git, branch externals/auctex
authorArash Esbati <arash@gnu.org>2026-06-19 16:22:13 +0200
committerArash Esbati <arash@gnu.org>2026-06-19 16:22:13 +0200
commit3c3d2117854074b1add2d997c28a90a037c7dfb3 (patch)
tree7572587630c9e650c880b3e81853afe80fae9943
parent9316f5c71df63322eb54b0e536b63756dc7f8c76 (diff)

* latex.el (LaTeX-completion-parse-args): Use `always'. * tex.el (TeX-always): Delete compat code. AUCTeX requires Emacs 28.1 which provides the function `always' which is now used.

-rw-r--r--latex.el2
-rw-r--r--tex.el10

2 files changed, 1 insertions, 11 deletions

diff --git a/latex.el b/latex.el
index ae13f2eb078..a8dd6adad44 100644
--- a/latex.el
+++ b/latex.el

@@ -7987,7 +7987,7 @@ or `LaTeX-environment-list' and returns it."

;; cases, but will also fail for example in hyperref.el. This

;; decision should revisited at a later stage:

(when (assq 'TeX-arg-conditional arg-list)

- (cl-letf (((symbol-function 'y-or-n-p) #'TeX-always))

+ (cl-letf (((symbol-function 'y-or-n-p) #'always))

(while (and arg-list

(setq arg (car arg-list)))

(if (and (listp arg) (eq (car arg) 'TeX-arg-conditional))

diff --git a/tex.el b/tex.el
index 93a1f2c66c2..c095e9c5063 100644
--- a/tex.el
+++ b/tex.el

@@ -4891,16 +4891,6 @@ Return nil if ELT is not a member of LIST."

(make-obsolete 'TeX-assoc

"use (assoc-string KEY LIST t) instead." "AUCTeX 13.0")

-(if (>= emacs-major-version 28)

- (defalias 'TeX-always #'always)

- (defun TeX-always (&rest _arguments)

- "Ignore ARGUMENTS, do nothing and return t.

-This function accepts any number of arguments in ARGUMENTS.

-Also see `ignore'.

-

-This is a compatibility function for Emacs versions prior to v.28."

- t))

-

;; COMPATIBILITY for Emacs<30

(if (fboundp 'derived-mode-add-parents)

(defalias 'TeX-derived-mode-add-parents #'derived-mode-add-parents)