diff options
| author | Phillip Lord <phillip.lord@russet.org.uk> | 2015-12-15 21:51:12 +0000 |
|---|---|---|
| committer | Phillip Lord <phillip.lord@russet.org.uk> | 2015-12-17 20:42:14 +0000 |
| commit | a2e6ed34b60c10cd63070b417c1bbd9fce82df63 (patch) | |
| tree | 63a8898ce6b5670f04c1f913bca53880bfe14179 /test/lisp/textmodes/reftex-tests.el | |
| parent | 23b5c22703eeee7b4fe6608ce12ffe3b87794933 (diff) | |
| download | emacs-a2e6ed34b60c10cd63070b417c1bbd9fce82df63.tar.gz | |
reftex generate autoloads to non versioned file.
* lisp/Makefile.in: Add reftex-loaddefs to autogen files
* lisp/textmodes/reftex.el: Remove autoloads.
* 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: Update autoload file-local.
* test/lisp/textmodes/reftex-tests.el: Add test of an autoloaded
function.
Diffstat (limited to 'test/lisp/textmodes/reftex-tests.el')
| -rw-r--r-- | test/lisp/textmodes/reftex-tests.el | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/lisp/textmodes/reftex-tests.el b/test/lisp/textmodes/reftex-tests.el index 962e39ff38e..a7af58f74c0 100644 --- a/test/lisp/textmodes/reftex-tests.el +++ b/test/lisp/textmodes/reftex-tests.el @@ -204,5 +204,20 @@ (should (string= (reftex-format-citation entry "%l:%A:%y:%t %j %P %a") "Foo13:Jane Roe:2013:Some Article Some Journal 1 Jane Roe, John Doe \\& Jane Taxpayer")))) + +;;; Autoload tests + +;; Test to check whether reftex autoloading mechanisms are working +;; correctly. +(ert-deftest reftex-autoload-auc () + "Tests to see whether reftex-auc has been autoloaded" + (should + (fboundp 'reftex-arg-label)) + (should + (autoloadp + (symbol-function + 'reftex-arg-label)))) + + (provide 'reftex-tests) ;;; reftex-tests.el ends here. |
