phobos.el: add autoload comments
This commit is contained in:
parent
a50c278fa3
commit
dd783e1d8e
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,7 @@
|
||||||
(shell-command (concat phobos-browser " " url))
|
(shell-command (concat phobos-browser " " url))
|
||||||
(message url)))
|
(message url)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun phobos (symbol)
|
(defun phobos (symbol)
|
||||||
"View the documentation on SYMBOL from the Phobos documentation.
|
"View the documentation on SYMBOL from the Phobos documentation.
|
||||||
|
|
||||||
|
@ -62,6 +63,7 @@ information on Phobos and the D programming language, see <https://dlang.org>."
|
||||||
(interactive "MModule or symbol: ")
|
(interactive "MModule or symbol: ")
|
||||||
(phobos--visit "%s/%s.html" phobos-root (string-replace "." "/" symbol)))
|
(phobos--visit "%s/%s.html" phobos-root (string-replace "." "/" symbol)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun dub-doc (package &optional symbol)
|
(defun dub-doc (package &optional symbol)
|
||||||
"View the documentation on SYMBOL from the dub package PACKAGE.
|
"View the documentation on SYMBOL from the dub package PACKAGE.
|
||||||
|
|
||||||
|
@ -76,8 +78,10 @@ site hosted at <https://dpldocs.info>."
|
||||||
(phobos--visit "https://%s.%s/%s.html"
|
(phobos--visit "https://%s.%s/%s.html"
|
||||||
package phobos-dpldocs-domain symbol))
|
package phobos-dpldocs-domain symbol))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defalias 'view-dub-documentation 'dub-doc)
|
(defalias 'view-dub-documentation 'dub-doc)
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun describe-dub-package (package)
|
(defun describe-dub-package (package)
|
||||||
"View the home page for dub package PACKAGE.
|
"View the home page for dub package PACKAGE.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue