1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(find-file-read-only-other-window): Use find-file-other-window.

This commit is contained in:
Richard M. Stallman 1993-05-25 03:56:02 +00:00
parent c027d070eb
commit 9466a1f687

View file

@ -390,7 +390,7 @@ Use \\[toggle-read-only] to permit editing."
Like \\[find-file-other-window] but marks buffer as read-only.
Use \\[toggle-read-only] to permit editing."
(interactive "fFind file read-only other window: ")
(find-file filename)
(find-file-other-window filename)
(setq buffer-read-only t))
(defun find-file-read-only-other-frame (filename)