mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-03 10:53:23 +00:00
Add file completion for git apply, am to pcomplete
* lisp/pcmpl-git.el (pcomplete/git): Add an "apply" and "am" clause to complete all files. (Bug#76356)
This commit is contained in:
parent
515542b653
commit
9cedb434ee
1 changed files with 4 additions and 1 deletions
|
@ -114,7 +114,10 @@ Files listed by `git ls-files ARGS' satisfy the predicate."
|
|||
;; Complete remotes and their revisions
|
||||
((or "fetch" "pull" "push")
|
||||
(pcomplete-here (process-lines vc-git-program "remote"))
|
||||
(pcomplete-here (pcmpl-git--remote-refs (pcomplete-arg 1)))))))))
|
||||
(pcomplete-here (pcmpl-git--remote-refs (pcomplete-arg 1))))
|
||||
;; Complete all files
|
||||
((or "apply" "am")
|
||||
(pcomplete-here (pcomplete-entries))))))))
|
||||
|
||||
(provide 'pcmpl-git)
|
||||
;;; pcmpl-git.el ends here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue