From: Stefan Monnier Date: Fri, 20 Apr 2018 13:16:55 +0000 (-0400) Subject: * lisp/international/mule-cmds.el (view-hello-file): Avoid duplicate X-Git-Tag: emacs-27.0.90~5128 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e927a36f3cf974a57094d10023ee075bb4596fb9;p=emacs.git * 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 --- 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."