emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x ediff-files doesn't notify user of missing ediff-diff-program


From: Michael Kifer
Subject: Re: M-x ediff-files doesn't notify user of missing ediff-diff-program
Date: Wed, 25 Oct 2006 15:57:17 -0400

> >             (condition-case nil
> >                 (apply 'call-process program nil buffer nil args)
> > !             (error (error "Cannot execute program %S." program)))
> 
> BTW, why catch the error and re-raise it immediately?
> The only reason I can think of is to raise a more user-friendly error, but
> I'm not sure the above is more user-friendly, and if it is, then maybe
> call-process's error message should be changed instead.
> 
> 
>         Stefan
> 


yes, if call-process's error message were more useful then there would be
no need to catch it and re-raise.


        --michael  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]