Commit 219ea611 authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/vc/vc-hg.el (vc-hg-command): Doc fix.

parent 8d7b5b5b
2011-02-03 Glenn Morris <rgm@gnu.org> 2011-02-03 Glenn Morris <rgm@gnu.org>
   
* vc/vc-hg.el (vc-hg-command): Doc fix.
* term/w32-win.el (libpng-version): Declare for compiler. * term/w32-win.el (libpng-version): Declare for compiler.
   
* msb.el: No need to load dired while compiling. * msb.el: No need to load dired while compiling.
......
...@@ -662,8 +662,8 @@ This runs the command \"hg merge\"." ...@@ -662,8 +662,8 @@ This runs the command \"hg merge\"."
(defun vc-hg-command (buffer okstatus file-or-list &rest flags) (defun vc-hg-command (buffer okstatus file-or-list &rest flags)
"A wrapper around `vc-do-command' for use in vc-hg.el. "A wrapper around `vc-do-command' for use in vc-hg.el.
The difference to vc-do-command is that this function always invokes `hg', This function differs from vc-do-command in that it invokes
and that it passes `vc-hg-global-switches' to it before FLAGS." `vc-hg-program', and passes `vc-hg-global-switches' to it before FLAGS."
(apply 'vc-do-command (or buffer "*vc*") okstatus vc-hg-program file-or-list (apply 'vc-do-command (or buffer "*vc*") okstatus vc-hg-program file-or-list
(if (stringp vc-hg-global-switches) (if (stringp vc-hg-global-switches)
(cons vc-hg-global-switches flags) (cons vc-hg-global-switches flags)
......
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