[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4bfcfdb: * lisp/textmodes/reftex-auc.el: Improve the external fun
From: |
Stefan Monnier |
Subject: |
master 4bfcfdb: * lisp/textmodes/reftex-auc.el: Improve the external function declarations |
Date: |
Mon, 29 Mar 2021 22:40:39 -0400 (EDT) |
branch: master
commit 4bfcfdb41638f37c89c0db8f297707773c677656
Author: Arash Esbati <arash@gnu.org>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* lisp/textmodes/reftex-auc.el: Improve the external function declarations
(LaTeX-add-bibitems): Move declaration closer to the others.
Fix those declarations to refer to the right file.
---
lisp/textmodes/reftex-auc.el | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/lisp/textmodes/reftex-auc.el b/lisp/textmodes/reftex-auc.el
index 8429fce..977da70 100644
--- a/lisp/textmodes/reftex-auc.el
+++ b/lisp/textmodes/reftex-auc.el
@@ -32,11 +32,12 @@
(optional prompt default &optional complete))
(declare-function TeX-argument-insert "ext:tex"
(name optional &optional prefix))
-(declare-function LaTeX-add-labels "ext:tex" (&rest entries) t)
-(declare-function LaTeX-add-index-entries "ext:tex" (&rest entries) t)
-(declare-function LaTeX-bibitem-list "ext:tex" () t)
-(declare-function LaTeX-index-entry-list "ext:tex" () t)
-(declare-function LaTeX-label-list "ext:tex" () t)
+(declare-function LaTeX-add-labels "ext:latex" (&rest labels) t)
+(declare-function LaTeX-add-index-entries "ext:latex" (&rest index-entries) t)
+(declare-function LaTeX-add-bibitems "ext:latex" (&rest bibitems) t)
+(declare-function LaTeX-bibitem-list "ext:latex" () t)
+(declare-function LaTeX-index-entry-list "ext:latex" () t)
+(declare-function LaTeX-label-list "ext:latex" () t)
(declare-function multi-prompt "ext:multi-prompt"
(separator unique prompt table &optional
mp-predicate require-match initial history))
@@ -69,8 +70,6 @@ What is being used depends upon `reftex-plug-into-AUCTeX'."
(LaTeX-add-labels label))
(TeX-argument-insert label optional)))
-(declare-function LaTeX-add-bibitems "latex") ;FIXME: Can't find the definition
-
;;;###autoload
(defun reftex-arg-cite (optional &optional prompt definition)
"Use `reftex-citation' or AUCTeX's code to insert a cite-key macro argument.
@@ -88,7 +87,6 @@ What is being used depends upon `reftex-plug-into-AUCTeX'."
(TeX-argument-insert (mapconcat #'identity items reftex-cite-key-separator)
optional)))
-
;;;###autoload
(defun reftex-arg-index-tag (optional &optional prompt &rest _args)
"Prompt for an index tag with completion.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 4bfcfdb: * lisp/textmodes/reftex-auc.el: Improve the external function declarations,
Stefan Monnier <=