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

推荐订阅源

Google DeepMind News
Google DeepMind News
U
Unit 42
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
J
Java Code Geeks
D
DataBreaches.Net
B
Blog RSS Feed
D
Docker
L
LangChain Blog
aimingoo的专栏
aimingoo的专栏
F
Fortinet All Blogs
Y
Y Combinator Blog
A
About on SuperTechFans
V
V2EX
罗磊的独立博客
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
MongoDB | Blog
MongoDB | Blog
博客园 - 【当耐特】
Last Week in AI
Last Week in AI
S
SegmentFault 最新的问题
月光博客
月光博客
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
阮一峰的网络日志
阮一峰的网络日志

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 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 Use ConTeXt Mark XL instead of LMTX - elpa/gnu.git
Fix custom prompt with a default-value - elpa/gnu.git
Arash Esbati · 2026-09-02 · via elpa/gnu.git, branch externals/auctex
authorArash Esbati <arash@gnu.org>2026-09-02 12:56:14 +0200
committerArash Esbati <arash@gnu.org>2026-09-02 12:56:14 +0200
commit82189092e425f48f8da60b68ffb0b276d9eeb833 (patch)
tree8f7a90b83734baf0a47fd63cbc90e314de3c9d23
parent414dcb3bfe679f58873e5c815f6867e6be236cab (diff)

* tex.el (TeX-arg-string): Adjust prompt when a default-value is given also for a custom prompt string.

-rw-r--r--tex.el7

1 files changed, 5 insertions, 2 deletions

diff --git a/tex.el b/tex.el
index 02e71b4e8f8..e86461f5078 100644
--- a/tex.el
+++ b/tex.el

@@ -3543,9 +3543,12 @@ LEFTBRACE and RIGHTBRACE."

(delete-region (point) (mark))

TeX-argument)

(TeX-read-string (TeX-argument-prompt

- optional prompt

+ optional

+ (if (and prompt default-value)

+ (concat prompt " (default " default-value ")")

+ prompt)

(concat "Text" (when default-value

- (concat" (default " default-value ")"))))

+ (concat " (default " default-value ")"))))

initial-input history default-value))

optional)))