diff options
author | John Wiegley <johnw@newartisans.com> | 2022-11-15 09:21:07 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2022-11-15 09:21:07 -0800 |
commit | 49fffe7cf4beb7b35d90758f4e6c24ebfe3615e1 (patch) | |
tree | 3b7699e4ffab2312c14f697da11059409ba4b86c /lisp/use-package/use-package-jump.el | |
parent | ec96b4766418fdfce2d7827fa6ddeb7257ad6cf7 (diff) | |
parent | cf8ab8b52eae65a108d899e896e1171355122bb7 (diff) | |
download | emacs-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.el | 15 |
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)) |