Function: dape-info-parent-mode

dape-info-parent-mode is a natively compiled function defined in dape.el.

Signature

(dape-info-parent-mode)

Documentation

Major mode to derive all Dape info buffer modes from.

In addition to any hooks its parent mode special-mode might have run, this mode runs the hook dape-info-parent-mode-hook, as the final or penultimate step during initialization.

<backtab> #<anonymous-function>
TAB dape-info-buffer-tab

Source Code

;; Defined in /nix/store/1fiaif8pifqj2jh65rbg3fkhg3i56q42-emacs-packages-deps/share/emacs/site-lisp/elpa/dape-0.27.1/dape.el
(define-derived-mode dape-info-parent-mode special-mode ""
  "Major mode to derive all Dape info buffer modes from."
  :interactive nil
  (setq-local buffer-read-only t
              cursor-in-non-selected-windows nil
              revert-buffer-function #'dape--info-revert
              dape--info-debounce-timer (timer-create))
  (add-hook 'window-buffer-change-functions #'dape--info-buffer-change-fn
            nil 'local)
  (when dape-info-hide-mode-line (setq-local mode-line-format nil))
  (buffer-disable-undo))