summaryrefslogtreecommitdiff
path: root/lisp/use-package/use-package-jump.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-11-14 02:15:19 +0100
committerStefan Kangas <stefankangas@gmail.com>2022-11-14 02:18:43 +0100
commitff30d22909194f818e5262537bcd045c4bf86e90 (patch)
tree9cc3ac2457e1fce0aa8d684dea29ce4c56b0279a /lisp/use-package/use-package-jump.el
parent971634e3f9e5c539f8a0184ca4ec1c4a3f9495ec (diff)
downloademacs-ff30d22909194f818e5262537bcd045c4bf86e90.tar.gz
emacs-ff30d22909194f818e5262537bcd045c4bf86e90.tar.bz2
emacs-ff30d22909194f818e5262537bcd045c4bf86e90.zip
Various checkdoc fixes
Diffstat (limited to 'lisp/use-package/use-package-jump.el')
-rw-r--r--lisp/use-package/use-package-jump.el13
1 files changed, 6 insertions, 7 deletions
diff --git a/lisp/use-package/use-package-jump.el b/lisp/use-package/use-package-jump.el
index 224d2e06b6e..6b9c02808e1 100644
--- a/lisp/use-package/use-package-jump.el
+++ b/lisp/use-package/use-package-jump.el
@@ -30,8 +30,8 @@
;; Provides the command `M-x use-package-jump-to-package-form', however it
;; only works if the package being jumped to was required during
-;; initialization. If it was delay-loaded, it will not work. Improvements are
-;; needed.
+;; initialization. If it was delay-loaded, it will not work.
+;; Improvements are needed.
;;; Code:
@@ -48,11 +48,10 @@ Returns an absolute file path or nil if none is found."
;;;###autoload
(defun use-package-jump-to-package-form (package)
- "Attempt to find and jump to the `use-package' form that loaded
-PACKAGE. This will only find the form if that form actually
-required PACKAGE. If PACKAGE was previously required then this
-function will jump to the file that originally required PACKAGE
-instead."
+ "Attempt to find and jump to the `use-package' form that loaded PACKAGE.
+This will only find the form if that form actually required
+PACKAGE. If PACKAGE was previously required then this function
+will jump to the file that originally required PACKAGE instead."
(interactive (list (completing-read "Package: " features)))
(let* ((package (if (stringp package) (intern package) package))
(requiring-file (use-package-find-require package))