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.
;; 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
(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))