]> git.eshelyaron.com Git - emacs.git/commitdiff
(file-coding-system-alist): Use
authorEli Zaretskii <eliz@gnu.org>
Wed, 6 Dec 2000 13:54:17 +0000 (13:54 +0000)
committerEli Zaretskii <eliz@gnu.org>
Wed, 6 Dec 2000 13:54:17 +0000 (13:54 +0000)
raw-text for reading loaddefs.el and raw-text-unix for writing
it.

lisp/international/mule-conf.el

index 0f626720623ca0a9ef5968563bb356979caadae4..8d943550ba192ea1229dc7513ad2d71f2247cb70 100644 (file)
 
 (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))))