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))
|
||||
(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 <https://dlang.org>."
|
|||
(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 <https://dpldocs.info>."
|
|||
(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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue