aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/textmodes
diff options
context:
space:
mode:
authorPhillip Lord2015-12-15 21:51:12 +0000
committerPhillip Lord2015-12-17 20:42:14 +0000
commita2e6ed34b60c10cd63070b417c1bbd9fce82df63 (patch)
tree63a8898ce6b5670f04c1f913bca53880bfe14179 /test/lisp/textmodes
parent23b5c22703eeee7b4fe6608ce12ffe3b87794933 (diff)
downloademacs-a2e6ed34b60c10cd63070b417c1bbd9fce82df63.tar.gz
emacs-a2e6ed34b60c10cd63070b417c1bbd9fce82df63.zip
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')
-rw-r--r--test/lisp/textmodes/reftex-tests.el15
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 @@
204 (should (string= (reftex-format-citation entry "%l:%A:%y:%t %j %P %a") 204 (should (string= (reftex-format-citation entry "%l:%A:%y:%t %j %P %a")
205 "Foo13:Jane Roe:2013:Some Article Some Journal 1 Jane Roe, John Doe \\& Jane Taxpayer")))) 205 "Foo13:Jane Roe:2013:Some Article Some Journal 1 Jane Roe, John Doe \\& Jane Taxpayer"))))
206 206
207
208;;; Autoload tests
209
210;; Test to check whether reftex autoloading mechanisms are working
211;; correctly.
212(ert-deftest reftex-autoload-auc ()
213 "Tests to see whether reftex-auc has been autoloaded"
214 (should
215 (fboundp 'reftex-arg-label))
216 (should
217 (autoloadp
218 (symbol-function
219 'reftex-arg-label))))
220
221
207(provide 'reftex-tests) 222(provide 'reftex-tests)
208;;; reftex-tests.el ends here. 223;;; reftex-tests.el ends here.