summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2003-02-14 06:55:32 +0000
committerJuanma Barranquero <lekktu@gmail.com>2003-02-14 06:55:32 +0000
commit544dd97560301827451af6e7c1c75872dbfa1b98 (patch)
tree532c9ff1a6f57095840c924162dcbecd25fefe2c /lisp
parentb8b42717a0ce2edde6f91151096c1ecf0c5e15f1 (diff)
downloademacs-544dd97560301827451af6e7c1c75872dbfa1b98.tar.gz
(view-hello-file): Use `view-file' instead of `find-file-read-only'.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/international/mule-cmds.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 97240909104..89724f7323d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 92df9fcb4c0..01bb05a0955 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."