aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/international/mule-cmds.el
diff options
context:
space:
mode:
authorJuanma Barranquero <[email protected]>2003-02-14 06:55:32 +0000
committerJuanma Barranquero <[email protected]>2003-02-14 06:55:32 +0000
commit544dd97560301827451af6e7c1c75872dbfa1b98 (patch)
tree532c9ff1a6f57095840c924162dcbecd25fefe2c /lisp/international/mule-cmds.el
parentb8b42717a0ce2edde6f91151096c1ecf0c5e15f1 (diff)
(view-hello-file): Use `view-file' instead of `find-file-read-only'.
Diffstat (limited to 'lisp/international/mule-cmds.el')
-rw-r--r--lisp/international/mule-cmds.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 92df9fcb4c..01bb05a095 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -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."