changeset 93501:f6fe1c1d8ba6

(vc-responsible-backend): Declare as function.
author Glenn Morris <rgm@gnu.org>
date Tue, 01 Apr 2008 02:58:15 +0000
parents 53831e54bf44
children 5aa73e9a6715
files lisp/vc-hooks.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-hooks.el	Tue Apr 01 02:57:33 2008 +0000
+++ b/lisp/vc-hooks.el	Tue Apr 01 02:58:15 2008 +0000
@@ -6,8 +6,6 @@
 ;; Author:     FSF (see vc.el for full credits)
 ;; Maintainer: Andre Spiegel <spiegel@gnu.org>
 
-;; $Id$
-
 ;; This file is part of GNU Emacs.
 
 ;; GNU Emacs is free software; you can redistribute it and/or modify
@@ -1060,12 +1058,14 @@
 
 (defalias 'vc-menu-map vc-menu-map)
 
+(declare-function vc-responsible-backend "vc" (file &optional register))
+
 (defun vc-menu-map-filter (orig-binding)
   (if (and (symbolp orig-binding) (fboundp orig-binding))
       (setq orig-binding (indirect-function orig-binding)))
   (let ((ext-binding
          (when vc-mode
-	   (vc-call-backend 
+	   (vc-call-backend
 	    (if buffer-file-name
 		(vc-backend buffer-file-name)
 	      (vc-responsible-backend default-directory))