+2007-08-06 Jason Rumney <jasonr@gnu.org>
+
+ * menu-bar.el (menu-bar-vc-filter): Use vc-call-backend.
+
+ * vc-hooks.el (vc-call): Add doc string.
+
2007-08-06 Michael Albinus <michael.albinus@gmx.de>
* net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
(t (apply f args)))))
(defmacro vc-call (fun file &rest args)
- ;; BEWARE!! `file' is evaluated twice!!
+ "A convenience macro for calling VC backend functions.
+Functions called by this macro must accept FILE as the first argument.
+ARGS specifies any additional arguments. FUN should be unquoted.
+BEWARE!! `file' is evaluated twice!!"
`(vc-call-backend (vc-backend ,file) ',fun ,file ,@args))
\f
(defsubst vc-parse-buffer (pattern i)