summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-dir.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-05-28 00:01:59 -0700
committerGlenn Morris <rgm@gnu.org>2013-05-28 00:01:59 -0700
commite658d75cda04a34e810875b2b5dceb0998335bc8 (patch)
treef153d2b7355f4756b640c97bbbdc502650dfd33a /lisp/vc/vc-dir.el
parent98e87fb36a4e1a912bf20d2ec72240042441b7d3 (diff)
downloademacs-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-dir.el')
-rw-r--r--lisp/vc/vc-dir.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index 1fdd2018946..80f78496a43 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -1299,6 +1299,8 @@ These are the commands available for use in the file status buffer:
"Auxiliary information to be saved in desktop file."
(cons (desktop-file-name default-directory dirname) vc-dir-backend))
+(defvar desktop-missing-file-warning)
+
(defun vc-dir-restore-desktop-buffer (_filename _buffername misc-data)
"Restore a `vc-dir' buffer specified in a desktop file."
(let ((dir (car misc-data))