diff options
author | Glenn Morris <rgm@gnu.org> | 2014-03-28 20:53:32 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-03-28 20:53:32 -0400 |
commit | 41116c5ab64bd378b96efed605f0874a3e72604e (patch) | |
tree | 32fe770ae75beddc44f0e6f33a285593cfa09e39 /lisp/textmodes/reftex-dcr.el | |
parent | dd694335f5f34d2629d2d0e8a93d1f0daf39c418 (diff) | |
download | emacs-41116c5ab64bd378b96efed605f0874a3e72604e.tar.gz |
Manage reftex's internal autoloads automatically
* lisp/textmodes/reftex.el: Manage most autoloads automatically.
* lisp/textmodes/reftex-auc.el, lisp/textmodes/reftex-cite.el:
* lisp/textmodes/reftex-dcr.el, lisp/textmodes/reftex-global.el:
* lisp/textmodes/reftex-index.el, lisp/textmodes/reftex-parse.el:
* lisp/textmodes/reftex-ref.el, lisp/textmodes/reftex-sel.el:
* lisp/textmodes/reftex-toc.el: Set generated-autoload-file,
and add autoload cookies for reftex.el.
* lisp/Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
Diffstat (limited to 'lisp/textmodes/reftex-dcr.el')
-rw-r--r-- | lisp/textmodes/reftex-dcr.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/textmodes/reftex-dcr.el b/lisp/textmodes/reftex-dcr.el index dc7448cc993..a06492e4759 100644 --- a/lisp/textmodes/reftex-dcr.el +++ b/lisp/textmodes/reftex-dcr.el @@ -30,6 +30,7 @@ (require 'reftex) +;;;###autoload (defun reftex-view-crossref (&optional arg auto-how fail-quietly) "View cross reference of macro at point. Point must be on the KEY argument. When at a `\\ref' macro, show corresponding `\\label' @@ -220,6 +221,7 @@ to the functions `reftex-view-cr-cite' and `reftex-view-cr-ref'." (when (equal arg 2) (select-window pop-win))))) +;;;###autoload (defun reftex-mouse-view-crossref (ev) "View cross reference of \\ref or \\cite macro where you click. If the macro at point is a \\ref, show the corresponding label definition. @@ -318,6 +320,7 @@ With argument, actually select the window showing the cross reference." "Non-nil means use the idle timers in XEmacs for crossref display. Currently, idle timer restart is broken and we use the post-command-hook.") +;;;###autoload (defun reftex-toggle-auto-view-crossref () "Toggle the automatic display of crossref information in the echo area. When active, leaving point idle in the argument of a \\ref or \\cite macro @@ -355,6 +358,7 @@ will display info in the echo area." 'reftex-view-crossref-when-idle reftex-idle-time nil t)))) +;;;###autoload (defun reftex-view-crossref-from-bibtex (&optional arg) "View location in a LaTeX document which cites the BibTeX entry at point. Since BibTeX files can be used by many LaTeX documents, this function @@ -482,3 +486,7 @@ Calling this function several times find successive citation locations." (provide 'reftex-dcr) ;;; reftex-dcr.el ends here + +;; Local Variables: +;; generated-autoload-file: "reftex.el" +;; End: |