• Stefan Monnier's avatar
    Fix pcomplete completion of things like `xargs` and `sudo` (bug#16197) · ba42f793
    Stefan Monnier authored
    * lisp/pcmpl-unix.el (pcomplete/xargs): Don't `pcomplete-this` around
    `pcomplete-command-completion-function`.
    (pcomplete/sudo): Make it an alias for `pcomplete/xargs`.
    
    * lisp/shell.el (shell-command-completion-function): Return the
    names from `exec-path` when the command name has no `/`.
    ba42f793