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

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

Re: help: windows emacs is adding CR to my .abbrev_defs files!


From: funkyj
Subject: Re: help: windows emacs is adding CR to my .abbrev_defs files!
Date: Sat, 8 Dec 2007 20:52:58 -0800 (PST)
User-agent: G2/1.0

I figured it out on my own.

Here it is in case anyone has the problem.  In my .emacs

(require 'dos-w32)

;; this next line gets us most of what we want.
(setq file-name-buffer-file-type-alist '((".*" . t)))

;; this line fixes the problem that .abbrev_defs gets written with
;; CRLF
(setq-default buffer-file-coding-system 'iso-latin-1-unix)



reply via email to

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