Function: speedbar-this-file-in-vc

speedbar-this-file-in-vc is a byte-compiled function defined in speedbar.el.gz.

Signature

(speedbar-this-file-in-vc DIRECTORY NAME)

Documentation

Return non-nil if the file NAME in DIRECTORY is under version control.

Automatically recognizes all VCs supported by VC mode. You can optimize this function by overriding it and only doing those checks that will occur on your system.

Source Code

;; Defined in /usr/src/emacs/lisp/speedbar.el.gz
(defun speedbar-this-file-in-vc (directory name)
  "Return non-nil if the file NAME in DIRECTORY is under version control.
Automatically recognizes all VCs supported by VC mode.  You can
optimize this function by overriding it and only doing those checks
that will occur on your system."
  (or
   (vc-backend (concat directory "/" name))
   ;; User extension
   (run-hook-with-args-until-success 'speedbar-vc-in-control-hook
                                     directory name)
   ))