Function: ffap-read-only-other-tab

ffap-read-only-other-tab is an interactive and byte-compiled function defined in ffap.el.gz.

Signature

(ffap-read-only-other-tab FILENAME)

Documentation

Like ffap, but put buffer in another tab and mark as read-only.

Only intended for interactive use.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/ffap.el.gz
(defun ffap-read-only-other-tab (filename)
  "Like `ffap', but put buffer in another tab and mark as read-only.
Only intended for interactive use."
  (interactive (list (ffap-prompter nil " read only other tab")))
  (let ((value (window-buffer (ffap-other-tab filename))))
    (ffap--toggle-read-only value)
    value))