From 7836ba986dd7317f68f07520445bd2260154c283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Pit--Claudel?= Date: Wed, 12 Aug 2015 00:11:00 -0700 Subject: [PATCH] Autoload `jquery-doc-setup` Without this change, one can't call `jquery-doc-setup` without loading the full plugin. In the recommended setting, for example, the plug-in will be loaded regardless of whether a js file is actually loaded. --- jquery-doc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery-doc.el b/jquery-doc.el index 3d20b29..24dbbfa 100644 --- a/jquery-doc.el +++ b/jquery-doc.el @@ -415,7 +415,7 @@ Optional argument JQUERY-METHOD method-name." buf)))) ;; common - +;;;###autoload (defun jquery-doc-setup () (when (boundp 'ac-sources) (pushnew 'ac-source-jquery ac-sources))