Function: vc--maybe-read-upstream-location
vc--maybe-read-upstream-location is a byte-compiled function defined
in vc.el.gz.
Signature
(vc--maybe-read-upstream-location)
Documentation
Read upstream location if there is a prefix argument, else return nil.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
(defun vc--maybe-read-upstream-location ()
"Read upstream location if there is a prefix argument, else return nil."
(and current-prefix-arg
(let ((res (read-string "Upstream location/branch (empty for default): "
nil 'vc-remote-location-history)))
(and (not (string-empty-p res)) res))))