Function: vc-dir--count-outgoing

vc-dir--count-outgoing is a byte-compiled function defined in vc-dir.el.gz.

Signature

(vc-dir--count-outgoing BACKEND)

Documentation

Call vc--count-outgoing with a delayed message and local quits.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-dir.el.gz
(defun vc-dir--count-outgoing (backend)
  "Call `vc--count-outgoing' with a delayed message and local quits."
  (let ((inhibit-quit t)
        ;; Hack for bug#81233 for the Emacs 30 release.
        (enable-local-variables
         (if (memq enable-local-variables '(:safe :all nil))
             enable-local-variables
           ;; Ignore other values that query.
           :safe)))
    (prog1
        (with-local-quit
          (with-delayed-message
              (2 (substitute-command-keys
                  "Counting outgoing revisions ...
(\\[keyboard-quit] to skip; \
see `vc-dir-show-outgoing-count' if this is frequently slow)"))
            (ignore-errors (vc--count-outgoing backend))))
      (setq quit-flag nil))))