]> code.delx.au - gnu-emacs/commitdiff
; Revert "Don't declare vc-exec-after anymore"
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 28 Oct 2015 00:43:14 +0000 (02:43 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 28 Oct 2015 00:43:14 +0000 (02:43 +0200)
This reverts commit 5e4395544c184d9a8702cf05c7aee9329b0b9482.

(http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02009.html)

lisp/obsolete/vc-arch.el
lisp/vc/vc-bzr.el
lisp/vc/vc-cvs.el
lisp/vc/vc-git.el
lisp/vc/vc-hg.el
lisp/vc/vc-mtn.el
lisp/vc/vc-svn.el

index bdb69757d35259644b1c4b61ffa79a0ea2286745..e6540ce74d995e26987b3d5f434424b2eeb9a487 100644 (file)
@@ -310,6 +310,10 @@ Only the value `maybe' can be trusted :-(."
                    'up-to-date
                  'edited)))))))))
 
+;; dir-status-files called from vc-dir, which loads vc,
+;; which loads vc-dispatcher.
+(declare-function vc-exec-after "vc-dispatcher" (code))
+
 (defun vc-arch-dir-status-files (dir _files callback)
   "Run `tla inventory' for DIR and pass results to CALLBACK.
 CALLBACK expects (ENTRIES &optional MORE-TO-COME); see
index 40f251654f285a38c0b493f67c9a8f2c0ace11fe..9b2711d81469d9d314617f66d8ad2cddefe55a70 100644 (file)
@@ -331,6 +331,7 @@ in the repository root directory of FILE."
   "Value of `compilation-error-regexp-alist' in *vc-bzr* buffers.")
 
 ;; To be called via vc-pull from vc.el, which requires vc-dispatcher.
+(declare-function vc-exec-after "vc-dispatcher" (code))
 (declare-function vc-set-async-update "vc-dispatcher" (process-buffer))
 (declare-function vc-compilation-mode "vc-dispatcher" (backend))
 
index c0a199dc07810f38f7b4c6a5596f61f2815589da..5f5807fb3c633915d0a156cd8ab89be341f36fcc 100644 (file)
@@ -543,6 +543,8 @@ Will fail unless you have administrative privileges on the repo."
 ;;;
 
 (declare-function vc-rcs-print-log-cleanup "vc-rcs" ())
+;; Follows vc-cvs-command, which uses vc-do-command from vc-dispatcher.
+(declare-function vc-exec-after "vc-dispatcher" (code))
 
 (defun vc-cvs-print-log (files buffer &optional _shortlog _start-revision limit)
   "Print commit log associated with FILES into specified BUFFER.
index 0e33896a7158de798f743ca7390871397dd9e467..27898a991a010bb929f225850e29dd7630c595dc 100644 (file)
@@ -461,6 +461,8 @@ or an empty string if none."
 
 ;; Follows vc-git-command (or vc-do-async-command), which uses vc-do-command
 ;; from vc-dispatcher.
+(declare-function vc-exec-after "vc-dispatcher" (code))
+;; Follows vc-exec-after.
 (declare-function vc-set-async-update "vc-dispatcher" (process-buffer))
 
 (defun vc-git-dir-status-goto-stage (stage files update-function)
index 1550c564b7e1909803a719572c6fce13202362e1..f9957c1afff32bdc4329457284347650f2fd5d60 100644 (file)
@@ -631,6 +631,8 @@ REV is the revision to check out into WORKFILE."
 
 ;; Follows vc-hg-command (or vc-do-async-command), which uses vc-do-command
 ;; from vc-dispatcher.
+(declare-function vc-exec-after "vc-dispatcher" (code))
+;; Follows vc-exec-after.
 (declare-function vc-set-async-update "vc-dispatcher" (process-buffer))
 
 (defun vc-hg-dir-status-files (dir files update-function)
index 3197d6060615f897d9863ee8dc2275d03ce06691..b56a08f2a9ec8f31be8adbb6823590c39b874d6f 100644 (file)
@@ -138,6 +138,10 @@ switches."
             ((match-end 2) (push (list (match-string 3) 'added) result))))
     (funcall update-function result)))
 
+;; dir-status-files called from vc-dir, which loads vc,
+;; which loads vc-dispatcher.
+(declare-function vc-exec-after "vc-dispatcher" (code))
+
 (defun vc-mtn-dir-status-files (dir _files update-function)
   (vc-mtn-command (current-buffer) 'async dir "status")
   (vc-run-delayed
index 2ec65a1ad07af37a444830cd6c1c3144fc66225b..4ef63a23db55eacb319e61f5c10a4c8830aaabda 100644 (file)
@@ -208,6 +208,10 @@ switches."
          (setq result (cons (list filename state) result)))))
     (funcall callback result)))
 
+;; dir-status-files called from vc-dir, which loads vc,
+;; which loads vc-dispatcher.
+(declare-function vc-exec-after "vc-dispatcher" (code))
+
 (autoload 'vc-expand-dirs "vc")
 
 (defun vc-svn-dir-status-files (_dir files callback)