# HG changeset patch # User Glenn Morris # Date 1252563625 0 # Node ID 0261f99bf92887ec709311106e55ff40c47ab843 # Parent 9967bdb55e21140857c9f2108a15e766a6324271 (top-level): Require cl when compiling. (view-hello-file): Use default-value rather than default-enable-multibyte-characters. diff -r 9967bdb55e21 -r 0261f99bf928 lisp/international/mule-cmds.el --- a/lisp/international/mule-cmds.el Thu Sep 10 06:19:53 2009 +0000 +++ b/lisp/international/mule-cmds.el Thu Sep 10 06:20:25 2009 +0000 @@ -31,6 +31,8 @@ ;;; Code: +(eval-when-compile (require 'cl)) ; letf + (defvar dos-codepage) (autoload 'widget-value "wid-edit") @@ -281,9 +283,9 @@ "Display the HELLO file, which lists many languages and characters." (interactive) ;; We have to decode the file in any environment. - (let ((default-enable-multibyte-characters t) - (coding-system-for-read 'iso-2022-7bit)) - (view-file (expand-file-name "HELLO" data-directory)))) + (letf (((default-value 'enable-multibyte-characters) t) + (coding-system-for-read 'iso-2022-7bit)) + (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."