On 2010-04-19 22:26 +0100, Daniel Barreto wrote:
> Hi, I have just installed magit, I was reading the user manual and it
> seems awesome... I had a problem though, when trying to commit I get
> this message: Symbol's function definition is void: start-file-
> process..
>
The definition of start-file-process as in Emacs 23.2 is as follows.
Don't know if it will work on 22.x. Try and see.
(defun start-file-process (name buffer program &rest program-args)
"Start a program in a subprocess. Return the process object for it.
Similar to `start-process', but may invoke a file handler based on
`default-directory'. See Info node `(elisp)Magic File Names'.
This handler ought to run PROGRAM, perhaps on the local host,
perhaps on a remote host that corresponds to `default-directory'.
In the latter case, the local part of `default-directory' becomes
the working directory of the process.
PROGRAM and PROGRAM-ARGS might be file names. They are not
objects of file handler invocation. File handlers might not
support pty association, if PROGRAM is nil."
(let ((fh (find-file-name-handler default-directory 'start-file-process)))
(if fh (apply fh 'start-file-process name buffer program program-args)
(apply 'start-process name buffer program program-args))))
> I really don't know if I'm doing anything wrong, or it's a known
> bug... I downloaded magit from the repo at gitorious.
>
> anyone knows what is this about?
> Thank you.
Leo
--
Subscription settings: http://groups.google.com/group/magit/subscribe?hl=en