[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 613661c38f: * style/amsrefs.el ("amsrefs"): Fix
From: |
ELPA Syncer |
Subject: |
[elpa] externals/auctex 613661c38f: * style/amsrefs.el ("amsrefs"): Fix 'M-RET' in biblist* env. |
Date: |
Fri, 29 Nov 2024 03:57:27 -0500 (EST) |
branch: externals/auctex
commit 613661c38f92f35128f5414f1d9a7df95838f1bd
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
* style/amsrefs.el ("amsrefs"): Fix 'M-RET' in biblist* env.
---
style/amsrefs.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/style/amsrefs.el b/style/amsrefs.el
index 4705470c9e..7cea9a766c 100644
--- a/style/amsrefs.el
+++ b/style/amsrefs.el
@@ -160,7 +160,7 @@
'("DefineJournal" 4))
;; 7.1 Author-year citation schemes
- (when (LaTeX-provided-class-options-member "amsrefs" "author-year")
+ (when (LaTeX-provided-package-options-member "amsrefs" "author-year")
(TeX-add-symbols
'("ycite" TeX-arg-cite)
'("ocite" TeX-arg-cite)
@@ -172,9 +172,8 @@
'("fullocite" TeX-arg-cite)))
;; Cater for `M-RET':
- (add-to-list 'LaTeX-item-list
- '("biblist" . LaTeX-item-amsrefs-bib)
- t)
+ (dolist (env '("biblist" "biblist*"))
+ (add-to-list 'LaTeX-item-list `(,env . LaTeX-item-amsrefs-bib) t))
;; Don't indent material inside the "bibdiv" env:
(unless (string-match-p "bibdiv" LaTeX-document-regexp)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/auctex 613661c38f: * style/amsrefs.el ("amsrefs"): Fix 'M-RET' in biblist* env.,
ELPA Syncer <=