I\'ve had these functions in my .emacs.el file for years:
.emacs.el
(defun dos2unix () \"Convert a DOS formatted text buffer to UNIX format\" (interac
I've got a bunch of these in my .emacs:
(setq-default buffer-file-coding-system 'utf-8-unix) (setq-default default-buffer-file-coding-system 'utf-8-unix) (set-default-coding-systems 'utf-8-unix) (prefer-coding-system 'utf-8-unix)
I don't know which is right, I am just superstitious.