emacs: Rename 'guix-search-by-name' to 'guix-packages-by-name'.
* emacs/guix-ui-package.el (guix-search-by-name): Rename to... (guix-packages-by-name): ... this. Complete package name. * doc/emacs.texi (Emacs Commands): Likewise.
This commit is contained in:
parent
264ae686fa
commit
e119ba9008
2 changed files with 4 additions and 4 deletions
|
@ -155,7 +155,7 @@ Display all installed packages.
|
||||||
Display obsolete packages (the packages that are installed in a profile
|
Display obsolete packages (the packages that are installed in a profile
|
||||||
but cannot be found among available packages).
|
but cannot be found among available packages).
|
||||||
|
|
||||||
@item M-x guix-search-by-name
|
@item M-x guix-packages-by-name
|
||||||
Display package(s) with the specified name.
|
Display package(s) with the specified name.
|
||||||
|
|
||||||
@item M-x guix-search-by-regexp
|
@item M-x guix-search-by-regexp
|
||||||
|
|
|
@ -912,15 +912,15 @@ See `guix-package-info-type'."
|
||||||
"A history of minibuffer prompts.")
|
"A history of minibuffer prompts.")
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun guix-search-by-name (name &optional profile)
|
(defun guix-packages-by-name (name &optional profile)
|
||||||
"Search for Guix packages by NAME.
|
"Display Guix packages with NAME.
|
||||||
NAME is a string with name specification. It may optionally contain
|
NAME is a string with name specification. It may optionally contain
|
||||||
a version number. Examples: \"guile\", \"guile-2.0.11\".
|
a version number. Examples: \"guile\", \"guile-2.0.11\".
|
||||||
|
|
||||||
If PROFILE is nil, use `guix-current-profile'.
|
If PROFILE is nil, use `guix-current-profile'.
|
||||||
Interactively with prefix, prompt for PROFILE."
|
Interactively with prefix, prompt for PROFILE."
|
||||||
(interactive
|
(interactive
|
||||||
(list (read-string "Package name: " nil 'guix-package-search-history)
|
(list (guix-read-package-name)
|
||||||
(guix-ui-read-profile)))
|
(guix-ui-read-profile)))
|
||||||
(guix-package-get-display profile 'name name))
|
(guix-package-get-display profile 'name name))
|
||||||
|
|
||||||
|
|
Reference in a new issue