[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4328: ediff chokes on `No newline at end of file'
From: |
Glenn Morris |
Subject: |
bug#4328: ediff chokes on `No newline at end of file' |
Date: |
Thu, 03 Sep 2009 14:47:54 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Werner LEMBERG wrote:
> [CVS of 2009-06-11]
>
> If I compare two files, and the second of them misses a newline at its
> end, I get
>
> ediff-prepare-error-list: Errors in diff output.
> Diff output is in #<buffer *ediff-diff<2>*>
>
> in the echo area, and
>
> \ No newline at end of file
>
> is displayed.
Ediff has code to handle this (see ediff-diff-ok-lines-regexp), and it
works fine for me, both with 23.1 and the current trunk, from emacs -Q.