diff options
| author | Richard M. Stallman | 1993-05-25 03:56:02 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-05-25 03:56:02 +0000 |
| commit | 9466a1f687bbf8b877dcf887efbb4a0e1ea43ae8 (patch) | |
| tree | db0e5b05eb1780f04f171edcef0140f441dbebc1 | |
| parent | c027d070ebb6f0655db88c6cda41165adbc6f3e6 (diff) | |
| download | emacs-9466a1f687bbf8b877dcf887efbb4a0e1ea43ae8.tar.gz emacs-9466a1f687bbf8b877dcf887efbb4a0e1ea43ae8.zip | |
(find-file-read-only-other-window): Use find-file-other-window.
| -rw-r--r-- | lisp/files.el | 2 |
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." | |||
| 390 | Like \\[find-file-other-window] but marks buffer as read-only. | 390 | Like \\[find-file-other-window] but marks buffer as read-only. |
| 391 | Use \\[toggle-read-only] to permit editing." | 391 | Use \\[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) |