mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 11:00:45 -08:00
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.
This commit is contained in:
parent
98e87fb36a
commit
e658d75cda
7 changed files with 68 additions and 2 deletions
|
|
@ -215,6 +215,9 @@ If you want to force an empty list of arguments, use t."
|
|||
(setq result (cons (list filename state) result)))))
|
||||
(funcall callback result)))
|
||||
|
||||
;; -dir-status called from vc-dir, which loads vc, which loads vc-dispatcher.
|
||||
(declare-function vc-exec-after "vc-dispatcher" (code))
|
||||
|
||||
(defun vc-svn-dir-status (dir callback)
|
||||
"Run 'svn status' for DIR and update BUFFER via CALLBACK.
|
||||
CALLBACK is called as (CALLBACK RESULT BUFFER), where
|
||||
|
|
@ -293,6 +296,8 @@ RESULT is a list of conses (FILE . STATE) for directory DIR."
|
|||
(vc-svn-command "*vc*" 0 "." "checkout"
|
||||
(concat "file://" default-directory "SVN")))
|
||||
|
||||
(autoload 'vc-switches "vc")
|
||||
|
||||
(defun vc-svn-register (files &optional rev comment)
|
||||
"Register FILES into the SVN version-control system.
|
||||
The COMMENT argument is ignored This does an add but not a commit.
|
||||
|
|
@ -493,6 +498,8 @@ or svn+ssh://."
|
|||
(require 'add-log)
|
||||
(set (make-local-variable 'log-view-per-file-logs) nil))
|
||||
|
||||
(autoload 'vc-setup-buffer "vc-dispatcher")
|
||||
|
||||
(defun vc-svn-print-log (files buffer &optional shortlog start-revision limit)
|
||||
"Print commit log associated with FILES into specified BUFFER.
|
||||
SHORTLOG is ignored.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue