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

推荐订阅源

The GitHub Blog
The GitHub Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Hacker News: Ask HN
Hacker News: Ask HN
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Schneier on Security
Schneier on Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
F
Full Disclosure
S
Secure Thoughts
大猫的无限游戏
大猫的无限游戏
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Proofpoint News Feed
Hacker News - Newest:
Hacker News - Newest: "LLM"
罗磊的独立博客
S
Schneier on Security
H
Hacker News: Front Page
H
Heimdal Security Blog
美团技术团队
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
P
Privacy International News Feed
博客园 - 三生石上(FineUI控件)
P
Palo Alto Networks Blog
PCI Perspectives
PCI Perspectives
NISL@THU
NISL@THU
T
Troy Hunt's Blog
Project Zero
Project Zero
Y
Y Combinator Blog
阮一峰的网络日志
阮一峰的网络日志
G
GRAHAM CLULEY
小众软件
小众软件
月光博客
月光博客
Google DeepMind News
Google DeepMind News
W
WeLiveSecurity
C
Cisco Blogs
腾讯CDC
Blog — PlanetScale
Blog — PlanetScale
I
Intezer
I
InfoQ
WordPress大学
WordPress大学
F
Fortinet All Blogs
T
Threat Research - Cisco Blogs
N
News and Events Feed by Topic
T
Tor Project blog
N
News | PayPal Newsroom
A
Arctic Wolf
有赞技术团队
有赞技术团队
博客园 - Franky
Vercel News
Vercel News
宝玉的分享
宝玉的分享
Application and Cybersecurity Blog
Application and Cybersecurity Blog

elpa/gnu.git, branch externals/auctex

Fix 'syntax-propertize because of narrowing!' error - elpa/gnu.git elpa/gnu.git - GNU ELPA Activate new xref backend - elpa/gnu.git 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 * 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
elpa/gnu.git - GNU ELPA
Arash Esbati · 2026-05-09 · via elpa/gnu.git, branch externals/auctex
authorArash Esbati <arash@gnu.org>2026-05-08 21:29:27 +0200
committerArash Esbati <arash@gnu.org>2026-05-08 21:29:27 +0200
commitba3daad7892f2340227477d1f72ced2864f3cd3d (patch)
treefb561c7231abd418dd0db081f67a0feda5352c86
parent4dc9c8cc1d3672479665923bd0ae807839d3a64c (diff)

* style/contract.el ("contract"): Fix usage of \refParN.

-rw-r--r--style/contract.el14

1 files changed, 8 insertions, 6 deletions

diff --git a/style/contract.el b/style/contract.el
index bb946cd571f..c8aa3a32ca3 100644
--- a/style/contract.el
+++ b/style/contract.el

@@ -1,6 +1,6 @@

;;; contract.el --- AUCTeX style for `contract.sty' (v0.91) -*- lexical-binding: t; -*-

-;; Copyright (C) 2024--2025 Free Software Foundation, Inc.

+;; Copyright (C) 2024--2026 Free Software Foundation, Inc.

;; Author: Arash Esbati <arash@gnu.org>

;; Maintainer: auctex-devel@gnu.org

@@ -32,9 +32,7 @@

(require 'latex)

;; Silence the compiler:

-(declare-function font-latex-add-keywords

- "font-latex"

- (keywords class))

+(declare-function font-latex-add-keywords "font-latex" (keywords class))

(defconst LaTeX-contract-clause-key-val

'(("dummy")

@@ -103,13 +101,17 @@

;; 5 Cross References

(let ((macs '("refL" "refS" "refN" "refClause" "refClauseN"

- "refPar" "refParL" "refParS" "refParN"

- "refSentence" "refSentenceL"" refSentenceS" "refSentenceN")))

+ "refPar" "refParL" "refParS"

+ "refSentence" "refSentenceL" "refSentenceS" "refSentenceN")))

(dolist (mac macs)

(TeX-add-symbols `(,mac TeX-arg-ref)))

+ (TeX-add-symbols

+ '("refParN" [TeX-arg-completing-read ("arabic" "roman")] TeX-arg-ref))

(when (and (featurep 'font-latex)

(eq TeX-install-font-lock 'font-latex-setup))

(font-latex-add-keywords (mapcar (lambda (x) (list x "{")) macs)

+ 'reference)

+ (font-latex-add-keywords '(("refParN" "[{"))

'reference)))

(LaTeX-paragraph-commands-add-locally '("Clause" "SubClause"))