From dd783e1d8ecec57082793ae9c22849e65514d0fc Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Wed, 17 Jul 2024 19:26:17 +1200 Subject: [PATCH] phobos.el: add autoload comments --- phobos.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phobos.el b/phobos.el index e2726b3..90f0261 100644 --- a/phobos.el +++ b/phobos.el @@ -50,6 +50,7 @@ (shell-command (concat phobos-browser " " url)) (message url))) +;;;###autoload (defun phobos (symbol) "View the documentation on SYMBOL from the Phobos documentation. @@ -62,6 +63,7 @@ information on Phobos and the D programming language, see ." (interactive "MModule or symbol: ") (phobos--visit "%s/%s.html" phobos-root (string-replace "." "/" symbol))) +;;;###autoload (defun dub-doc (package &optional symbol) "View the documentation on SYMBOL from the dub package PACKAGE. @@ -76,8 +78,10 @@ site hosted at ." (phobos--visit "https://%s.%s/%s.html" package phobos-dpldocs-domain symbol)) +;;;###autoload (defalias 'view-dub-documentation 'dub-doc) +;;;###autoload (defun describe-dub-package (package) "View the home page for dub package PACKAGE.