diff options
author | Glenn Morris <rgm@gnu.org> | 2013-05-28 00:01:59 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-05-28 00:01:59 -0700 |
commit | e658d75cda04a34e810875b2b5dceb0998335bc8 (patch) | |
tree | f153d2b7355f4756b640c97bbbdc502650dfd33a /lisp/vc/vc-mtn.el | |
parent | 98e87fb36a4e1a912bf20d2ec72240042441b7d3 (diff) | |
download | emacs-e658d75cda04a34e810875b2b5dceb0998335bc8.tar.gz |
Silence some vc compilation warnings
* lisp/vc/vc-arch.el (vc-exec-after): Declare.
(vc-switches): Autoload.
* lisp/vc/vc-bzr.el: No need to require vc when compiling.
(vc-exec-after, vc-set-async-update, vc-default-dir-printer)
(vc-resynch-buffer, vc-dir-refresh): Declare.
(vc-setup-buffer, vc-switches): Autoload.
* lisp/vc/vc-dir.el (desktop-missing-file-warning): Declare.
* lisp/vc/vc-mtn.el (vc-exec-after): Declare.
(vc-switches): Autoload.
* lisp/vc/vc-rcs.el (vc-expand-dirs, vc-switches)
(vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
(vc-file-tree-walk): Declare.
* lisp/vc/vc-svn.el (vc-exec-after): Declare.
(vc-switches, vc-setup-buffer): Autoload.
* lisp/obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
Autoload.
(vc-resynch-buffer): Declare.
Diffstat (limited to 'lisp/vc/vc-mtn.el')
-rw-r--r-- | lisp/vc/vc-mtn.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/vc/vc-mtn.el b/lisp/vc/vc-mtn.el index fbfd89561b7..29996fafe92 100644 --- a/lisp/vc/vc-mtn.el +++ b/lisp/vc/vc-mtn.el @@ -123,6 +123,9 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches." ((match-end 2) (push (list (match-string 3) 'added) result)))) (funcall update-function result))) +;; -dir-status called from vc-dir, which loads vc, which loads vc-dispatcher. +(declare-function vc-exec-after "vc-dispatcher" (code)) + (defun vc-mtn-dir-status (dir update-function) (vc-mtn-command (current-buffer) 'async dir "status") (vc-exec-after @@ -233,6 +236,8 @@ If LIMIT is non-nil, show no more than this many entries." ;; (defun vc-mtn-show-log-entry (revision) ;; ) +(autoload 'vc-switches "vc") + (defun vc-mtn-diff (files &optional rev1 rev2 buffer) "Get a difference report using monotone between two revisions of FILES." (apply 'vc-mtn-command (or buffer "*vc-diff*") 1 files "diff" |