]> code.delx.au - gnu-emacs/commitdiff
(vc-responsible-backend): Declare as function.
authorGlenn Morris <rgm@gnu.org>
Tue, 1 Apr 2008 02:58:32 +0000 (02:58 +0000)
committerGlenn Morris <rgm@gnu.org>
Tue, 1 Apr 2008 02:58:32 +0000 (02:58 +0000)
lisp/ChangeLog
lisp/vc-hooks.el

index bf2e732e82d928078c80d918ceddee010f7d6c67..1d7f1108dd8a4fc2e6aa54147e1129a434127c96 100644 (file)
@@ -1,5 +1,7 @@
 2008-04-01  Glenn Morris  <rgm@gnu.org>
 
+       * vc-hooks.el (vc-responsible-backend): Declare as function.
+
        * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
        * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
        * calendar/cal-julian.el (holiday-julian): Use it.
index 893b16db601bc0f3277d84a3fdfbcd2e8b33bfe6..05adcd5c6aa6d0e7c9da3a0c008db063c0d846c1 100644 (file)
@@ -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 @@ Used in `find-file-not-found-functions'."
 
 (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))