mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-18 10:57:34 +00:00
(vc-call): Add doc string.
This commit is contained in:
parent
dca921f5a0
commit
daffc81ab9
2 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
|
|
|||
|
|
@ -279,7 +279,10 @@ It is usually called via the `vc-call' macro."
|
|||
(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))
|
||||
|
||||
(defsubst vc-parse-buffer (pattern i)
|
||||
|
|
|
|||
Loading…
Reference in a new issue