(view-hello-file): Use `view-file' instead of `find-file-read-only'.
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 14 Feb 2003 06:55:32 +0000 (06:55 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 14 Feb 2003 06:55:32 +0000 (06:55 +0000)
lisp/ChangeLog
lisp/international/mule-cmds.el

index 9724090..89724f7 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-14  Juanma Barranquero  <lektu@terra.es>
+
+       * international/mule-cmds.el (view-hello-file): Use `view-file'
+       instead of `find-file-read-only'.
+
 2003-02-13  Markus Rost  <rost@math.ohio-state.edu>
 
        * files.el (find-alternate-file): Undo last change.
index 92df9fc..01bb05a 100644 (file)
@@ -264,7 +264,7 @@ wrong, use this command again to toggle back to the right mode."
   ;; We have to decode the file in any environment.
   (let ((default-enable-multibyte-characters t)
        (coding-system-for-read 'iso-2022-7bit))
-    (find-file-read-only (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."