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.
This commit is contained in:
Alex Kost 2015-06-22 10:57:04 +03:00
parent a8f996c605
commit 0805f336ad

View file

@ -330,7 +330,11 @@ INPUT is the current partially completed string."
((and (command? "refresh") ((and (command? "refresh")
(option? "-s" "--select")) (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) (defun guix-pcomplete-complete-options (command)
"Complete options (with their arguments) for guix COMMAND." "Complete options (with their arguments) for guix COMMAND."