summaryrefslogtreecommitdiff
path: root/lisp/use-package/use-package-jump.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2022-11-15 09:21:07 -0800
committerJohn Wiegley <johnw@newartisans.com>2022-11-15 09:21:07 -0800
commit49fffe7cf4beb7b35d90758f4e6c24ebfe3615e1 (patch)
tree3b7699e4ffab2312c14f697da11059409ba4b86c /lisp/use-package/use-package-jump.el
parentec96b4766418fdfce2d7827fa6ddeb7257ad6cf7 (diff)
parentcf8ab8b52eae65a108d899e896e1171355122bb7 (diff)
downloademacs-49fffe7cf4beb7b35d90758f4e6c24ebfe3615e1.tar.gz
emacs-49fffe7cf4beb7b35d90758f4e6c24ebfe3615e1.tar.bz2
emacs-49fffe7cf4beb7b35d90758f4e6c24ebfe3615e1.zip
Merge remote-tracking branch 'origin/master' into pr-830
Diffstat (limited to 'lisp/use-package/use-package-jump.el')
-rw-r--r--lisp/use-package/use-package-jump.el15
1 files changed, 7 insertions, 8 deletions
diff --git a/lisp/use-package/use-package-jump.el b/lisp/use-package/use-package-jump.el
index 4044ad16564..6b9c02808e1 100644
--- a/lisp/use-package/use-package-jump.el
+++ b/lisp/use-package/use-package-jump.el
@@ -1,6 +1,6 @@
;;; use-package-jump.el --- Attempt to jump to a use-package declaration -*- lexical-binding: t; -*-
-;; Copyright (C) 2012-2017 John Wiegley
+;; Copyright (C) 2012-2022 Free Software Foundation, Inc.
;; Author: John Wiegley <johnw@newartisans.com>
;; Maintainer: John Wiegley <johnw@newartisans.com>
@@ -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))