Function: speedbar-vc-check-dir-p
speedbar-vc-check-dir-p is a byte-compiled function defined in
speedbar.el.gz.
Signature
(speedbar-vc-check-dir-p DIRECTORY)
Documentation
Return t if we should bother checking DIRECTORY for version control files.
This can be overloaded to add new types of version control systems.
Source Code
;; Defined in /usr/src/emacs/lisp/speedbar.el.gz
(defun speedbar-vc-check-dir-p (directory)
"Return t if we should bother checking DIRECTORY for version control files.
This can be overloaded to add new types of version control systems."
(or
(catch t (dolist (vcd vc-directory-exclusion-list)
(if (file-exists-p (concat directory vcd)) (throw t t))) nil)
;; User extension
(run-hook-with-args-until-success 'speedbar-vc-directory-enable-hook
directory)
))