[Top][All Lists]
[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: |
Stefan Monnier |
Subject: |
Re: M-x ediff-files doesn't notify user of missing ediff-diff-program |
Date: |
Wed, 25 Oct 2006 11:02:05 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> (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