From 3e88bb5065316cc8558805ad4af90d88393e617a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 6 Dec 2000 13:54:17 +0000 Subject: [PATCH] (file-coding-system-alist): Use raw-text for reading loaddefs.el and raw-text-unix for writing it. --- lisp/international/mule-conf.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el index 0f626720623..8d943550ba1 100644 --- a/lisp/international/mule-conf.el +++ b/lisp/international/mule-conf.el @@ -418,7 +418,12 @@ (setq file-coding-system-alist '(("\\.elc\\'" . (emacs-mule . emacs-mule)) - ("\\(\\`\\|/\\)loaddefs.el\\'" . (no-conversion . no-conversion)) + ;; We use raw-text for reading loaddefs.el so that if it + ;; happens to have DOS or Mac EOLs, they are converted to + ;; newlines. This is required to make the special treatment + ;; of the "\ newline" combination in loaddefs.el, which marks + ;; the beginning of a doc string, work. + ("\\(\\`\\|/\\)loaddefs.el\\'" . (raw-text . raw-text-unix)) ("\\.tar\\'" . (no-conversion . no-conversion)) ("" . (undecided . nil)))) -- 2.39.2