guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: emacs: Complete 'guix size --map-file' properly.


From: Alex Kost
Subject: 01/01: emacs: Complete 'guix size --map-file' properly.
Date: Mon, 22 Jun 2015 08:02:58 +0000

alezost pushed a commit to branch master
in repository guix.

commit 0805f336adb0a23d93313adffa0a8bfdba6b621d
Author: Alex Kost <address@hidden>
Date:   Mon Jun 22 10:57:04 2015 +0300

    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.
---
 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 dd42556..cad1966 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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]