]> git.eshelyaron.com Git - emacs.git/commitdiff
Output `auto-coding-alist' in `describe-current-coding-system'
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 20 Aug 2019 02:39:05 +0000 (19:39 -0700)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 20 Aug 2019 02:39:05 +0000 (19:39 -0700)
* lisp/international/mule-diag.el
(describe-current-coding-system): Also output the contents of
`auto-coding-alist', which take precedence over
`file-coding-system-alist' (bug#9575).

lisp/international/mule-diag.el

index 472529ffc05cb4da24b18856f10ccba0eaf049b4..dcdcafcea771d1be98ccd6d97cbc441819b66bac 100644 (file)
@@ -677,7 +677,8 @@ Priority order for recognizing coding systems when reading files:\n")
                        (princ (cdr (car alist)))
                        (princ "\n")
                        (setq alist (cdr alist)))))))
-       (funcall func "File I/O" file-coding-system-alist)
+       (funcall func "File I/O" (append auto-coding-alist
+                                         file-coding-system-alist))
        (funcall func "Process I/O" process-coding-system-alist)
        (funcall func "Network I/O" network-coding-system-alist))
       (help-mode))))