Function: pcmpl-git--expand-flags
pcmpl-git--expand-flags is a byte-compiled function defined in
pcmpl-git.el.gz.
Signature
(pcmpl-git--expand-flags ARGS)
Documentation
In the list of ARGS, expand arguments of the form --[no-]flag.
Source Code
;; Defined in /usr/src/emacs/lisp/pcmpl-git.el.gz
(defun pcmpl-git--expand-flags (args)
"In the list of ARGS, expand arguments of the form --[no-]flag."
(mapcan (lambda (arg) (if (string-search "[no-]" arg)
(list (string-replace "[no-]" "" arg)
(string-replace "[no-]" "no-" arg))
(list arg)))
args))