Function: doc-view--text-view-mode

doc-view--text-view-mode is an interactive and byte-compiled function defined in doc-view.el.gz.

Signature

(doc-view--text-view-mode)

Documentation

View mode used in DocView's text buffers.

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

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/doc-view.el.gz
;; We define an own major mode for DocView's text display so that we
;; can easily distinguish when we want to toggle back because
;; text-mode is a likely candidate for a default major-mode
;; (bug#34451).
(define-derived-mode doc-view--text-view-mode text-mode "DV/Text"
  "View mode used in DocView's text buffers."
  (view-mode))