emacs: Complete --file in 'guix build' popup.
* emacs/guix-command.el (guix-command-improve-build-argument): Use 'guix-read-file-name' to complete --file option.
This commit is contained in:
		
							parent
							
								
									883fc5ed42
								
							
						
					
					
						commit
						08207339aa
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -192,6 +192,7 @@ to be modified."
 | 
				
			||||||
(guix-command-define-argument-improver
 | 
					(guix-command-define-argument-improver
 | 
				
			||||||
    guix-command-improve-build-argument
 | 
					    guix-command-improve-build-argument
 | 
				
			||||||
  '(("--no-grafts"   :char ?g)
 | 
					  '(("--no-grafts"   :char ?g)
 | 
				
			||||||
 | 
					    ("--file"        :fun guix-read-file-name)
 | 
				
			||||||
    ("--root"        :fun guix-read-file-name)
 | 
					    ("--root"        :fun guix-read-file-name)
 | 
				
			||||||
    ("--sources"     :char ?S :fun guix-read-source-type :switch? nil)
 | 
					    ("--sources"     :char ?S :fun guix-read-source-type :switch? nil)
 | 
				
			||||||
    ("--with-source" :fun guix-read-file-name)))
 | 
					    ("--with-source" :fun guix-read-file-name)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue