summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2022-11-03 23:15:12 +0100
committerPhilip Kaludercic <philipk@posteo.net>2022-11-03 23:15:18 +0100
commit0efc611697466551368c5c2deb05f598f4ec0eeb (patch)
tree2ead46299acc83653b9b417c45c535b8c3402e54 /lisp/emacs-lisp
parent38efed50dc7226f1692254120d531668f6508fb9 (diff)
downloademacs-0efc611697466551368c5c2deb05f598f4ec0eeb.tar.gz
emacs-0efc611697466551368c5c2deb05f598f4ec0eeb.tar.bz2
emacs-0efc611697466551368c5c2deb05f598f4ec0eeb.zip
Autoload all entry functions
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package-vc.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index 56762d39b2a..3eac55ba544 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -619,6 +619,7 @@ repository can be set by BACKEND. If missing,
rev)))
((user-error "Unknown package to fetch: %s" name-or-url))))
+;;;###autoload
(defun package-vc-checkout (pkg-desc directory &optional rev)
"Clone the sources for PKG-DESC into DIRECTORY and open it.
An explicit revision can be requested by passing a string to the
@@ -649,6 +650,7 @@ special value `:last-release' as REV."
(package-vc--clone pkg-desc pkg-spec directory rev)
(find-file directory)))
+;;;###autoload
(defun package-vc-link-directory (dir name)
"Install the package NAME in DIR by linking it into the ELPA directory.
If invoked interactively with a prefix argument, the user will be
@@ -670,6 +672,7 @@ from the base name of DIR."
:kind 'vc)
pkg-dir)))
+;;;###autoload
(defun package-vc-refresh (pkg-desc)
"Refresh the installation for PKG-DESC."
(interactive (package-vc--read-pkg "Refresh package: "))