Commit aafb0703 authored by Glenn Morris's avatar Glenn Morris

(vc-responsible-backend): Declare as function.

parent bbe3eb99
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.
......
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment