Function: vc-context-matches-p
vc-context-matches-p is a byte-compiled function defined in
vc-dispatcher.el.gz.
Signature
(vc-context-matches-p POSN CONTEXT)
Documentation
Return t if POSN matches CONTEXT, nil otherwise.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-dispatcher.el.gz
(defun vc-context-matches-p (posn context)
"Return t if POSN matches CONTEXT, nil otherwise."
(let* ((context-string (nth 2 context))
(len (length context-string))
(end (+ posn len)))
(if (> end (1+ (buffer-size)))
nil
(string= context-string (buffer-substring posn end)))))