~ruther/guix-local

0805f336adb0a23d93313adffa0a8bfdba6b621d — Alex Kost 10 years ago a8f996c
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.
1 files changed, 5 insertions(+), 1 deletions(-)

M emacs/guix-pcomplete.el
M emacs/guix-pcomplete.el => emacs/guix-pcomplete.el +5 -1
@@ 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."