diff options
author | Alex Kost <alezost@gmail.com> | 2015-08-17 12:05:05 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2015-08-30 18:26:03 +0300 |
commit | eb097f36b1c3e7a25f1ce212670e8a19788fd195 (patch) | |
tree | 350e58f4d0bd133c2c1c47487c06ec7b49b7c358 /emacs/guix-command.el | |
parent | 9b0afb0d289c58233bbc1764097b88e7fab3724f (diff) | |
download | guix-eb097f36b1c3e7a25f1ce212670e8a19788fd195.tar guix-eb097f36b1c3e7a25f1ce212670e8a19788fd195.tar.gz |
emacs: Use prompt for packages instead popup for edit action.
* emacs/guix-base.el (guix-package-location): New function.
(guix-edit-package): Rename and move to ...
* emacs/guix.el (guix-edit): ...here. Make it interactive.
* emacs/guix-command.el (guix-edit-action): New function (alias to
'guix-edit') to override the popup for edit command in "M-x guix".
* emacs/guix-list.el (guix-list-edit-package): Adjust for 'guix-edit'
renaming.
* emacs/guix-main.scm (package-location-string): Allow to accept package
id or package name as argument.
Diffstat (limited to 'emacs/guix-command.el')
-rw-r--r-- | emacs/guix-command.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/guix-command.el b/emacs/guix-command.el index 97a88726df..139724d3d5 100644 --- a/emacs/guix-command.el +++ b/emacs/guix-command.el @@ -627,6 +627,8 @@ EXECUTOR function is called with the current command line arguments." ;;;###autoload (autoload 'guix "guix-command" "Popup window for 'guix'." t) (guix-command-define-popup-action guix) +(defalias 'guix-edit-action #'guix-edit) + (defvar guix-command-font-lock-keywords (eval-when-compile |