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

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

bug#4533: 23.1: reverting fails to update line ending mode line


From: Kenichi Handa
Subject: bug#4533: 23.1: reverting fails to update line ending mode line
Date: Thu, 05 Nov 2009 13:17:00 +0900

In article <1afaf6160909221901p527cca80jcbf81e589cde629d@mail.gmail.com>, 
Benjamin Peterson <benjamin@python.org> writes:

> I had a buffer with a mode line like this:
> - U:(DOS)

> I ran dos2unix on the file, and did M-x revert-buffer.

> The DOS stayed in the mode line until I killed the buffer and
> revisited the buffer.

I found that insert-file-contents forgets to update
buffer-file-coding-system in case of replace.  I've just
installed a fix.

---
Kenichi Handa
handa@m17n.org





reply via email to

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