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:
parent
c027d070eb
commit
9466a1f687
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue