aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-25 03:56:02 +0000
committerRichard M. Stallman1993-05-25 03:56:02 +0000
commit9466a1f687bbf8b877dcf887efbb4a0e1ea43ae8 (patch)
treedb0e5b05eb1780f04f171edcef0140f441dbebc1
parentc027d070ebb6f0655db88c6cda41165adbc6f3e6 (diff)
downloademacs-9466a1f687bbf8b877dcf887efbb4a0e1ea43ae8.tar.gz
emacs-9466a1f687bbf8b877dcf887efbb4a0e1ea43ae8.zip
(find-file-read-only-other-window): Use find-file-other-window.
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 32ef61a6277..f8a1ea1715b 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -390,7 +390,7 @@ Use \\[toggle-read-only] to permit editing."
390Like \\[find-file-other-window] but marks buffer as read-only. 390Like \\[find-file-other-window] but marks buffer as read-only.
391Use \\[toggle-read-only] to permit editing." 391Use \\[toggle-read-only] to permit editing."
392 (interactive "fFind file read-only other window: ") 392 (interactive "fFind file read-only other window: ")
393 (find-file filename) 393 (find-file-other-window filename)
394 (setq buffer-read-only t)) 394 (setq buffer-read-only t))
395 395
396(defun find-file-read-only-other-frame (filename) 396(defun find-file-read-only-other-frame (filename)