help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: ediff & No newline at end of file


From: Thierry Volpiatto
Subject: Re: ediff & No newline at end of file
Date: Sat, 21 Jun 2008 07:03:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Hi,
that will not correct your problem but help in the future.

,----
| ;; Add newline at end of files
| (setq require-final-newline t)
`----
Now when you edit a file and you save it it will have a newline at end.

sandro dentella <sandro@e-den.it> writes:

> sorry. I sent it before ending the message...
>
> I'm calling ediff from a script as:
>
> emacs --eval "(ediff-files \"$1\"  \"$2\")"
>
> if on of the 2 file have a missing newline the above command will
> fail.
>
> Any Hint?
>
> Thanks in advance
>
> sandro
> *:-)
>

-- 
A + Thierry
Pub key: http://pgp.mit.edu




reply via email to

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