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

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

bug#4451: 23.1; EOL problems with vc-diff and cygwin


From: Reiner Steib
Subject: bug#4451: 23.1; EOL problems with vc-diff and cygwin
Date: Fri, 18 Sep 2009 13:29:46 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.1.5)

Stefan Monnier <address@hidden> wrote:

I think the best solution is to change vc-coding-system-for-diff so that
when it takes the coding system from (with-current-buffer buf
buffer-file-coding-system), it ignores the EOL part of that
coding system.

Does the patch below help?

It does help.  Thanks.

-                   buffer-file-coding-system)))
+                    (if buffer-file-coding-system
+                        ;; Don't inherit the EOL part of the coding-system,
+                        ;; because some diff tools may choose to use
+                        ;; another one.
+                        (coding-system-base buffer-file-coding-system)))))

Shouldn't the comment mention "bug#4451"?

Bye, Reiner







reply via email to

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