diff options
author | Alex Kost <alezost@gmail.com> | 2015-06-22 10:57:04 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2015-06-22 11:01:21 +0300 |
commit | 0805f336adb0a23d93313adffa0a8bfdba6b621d (patch) | |
tree | ca6e8244ca1d0e3cf2156f72468f16be58b1a91f /emacs/guix-pcomplete.el | |
parent | a8f996c605c181e5adae0de24b235d463825beab (diff) | |
download | guix-0805f336adb0a23d93313adffa0a8bfdba6b621d.tar guix-0805f336adb0a23d93313adffa0a8bfdba6b621d.tar.gz |
emacs: Complete 'guix size --map-file' properly.
* emacs/guix-pcomplete.el (guix-pcomplete-complete-option-arg): Complete
file name for '-m/--map-file' option of 'guix size' command.
Diffstat (limited to 'emacs/guix-pcomplete.el')
-rw-r--r-- | emacs/guix-pcomplete.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/emacs/guix-pcomplete.el b/emacs/guix-pcomplete.el index dd42556163..cad19662dd 100644 --- a/emacs/guix-pcomplete.el +++ b/emacs/guix-pcomplete.el @@ -330,7 +330,11 @@ INPUT is the current partially completed string." ((and (command? "refresh") (option? "-s" "--select")) - (complete* guix-pcomplete-refresh-subsets))))) + (complete* guix-pcomplete-refresh-subsets)) + + ((and (command? "size") + (option? "-m" "--map-file")) + (complete* (pcomplete-entries)))))) (defun guix-pcomplete-complete-options (command) "Complete options (with their arguments) for guix COMMAND." |