From e927a36f3cf974a57094d10023ee075bb4596fb9 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 20 Apr 2018 09:16:55 -0400 Subject: [PATCH] * lisp/international/mule-cmds.el (view-hello-file): Avoid duplicate Don't hardcode the coding-system, now that it's specified with a "coding:" tag --- lisp/international/mule-cmds.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index c66cc6747de..6c49b8fa6a0 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -281,9 +281,7 @@ wrong, use this command again to toggle back to the right mode." (defun view-hello-file () "Display the HELLO file, which lists many languages and characters." (interactive) - ;; We have to decode the file in any environment. - (let ((coding-system-for-read 'utf-8)) - (view-file (expand-file-name "HELLO" data-directory)))) + (view-file (expand-file-name "HELLO" data-directory))) (defun universal-coding-system-argument (coding-system) "Execute an I/O command using the specified coding system." -- 2.39.5