Function: reftex-toc-dframe-p

reftex-toc-dframe-p is a byte-compiled function defined in reftex-toc.el.gz.

Signature

(reftex-toc-dframe-p &optional FRAME ERROR)

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/reftex-toc.el.gz
(defun reftex-toc-dframe-p (&optional frame error)
  ;; Check if FRAME is the dedicated TOC frame.
  ;; If yes, and ERROR is non-nil, throw an error.
  (setq frame (or frame (selected-frame)))
  (let ((res (equal (frame-parameter frame 'name)
                    "RefTeX TOC Frame")))
    (if (and res error)
        (error (substitute-command-keys
                "This frame is view-only.  Use \\[reftex-toc] \
to create TOC window for commands")))
    res))