Function: rst-compile-pseudo-region

rst-compile-pseudo-region is an interactive and byte-compiled function defined in rst.el.gz.

Signature

(rst-compile-pseudo-region)

Documentation

Show pseudo-XML rendering.

Rendering is done of the current active region, or of the entire buffer, if the region is not selected.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/rst.el.gz
(defun rst-compile-pseudo-region ()
  "Show pseudo-XML rendering.
Rendering is done of the current active region, or of the entire
buffer, if the region is not selected."
  ;; FIXME: The region should be given interactively.
  (interactive)
  (with-output-to-temp-buffer "*pseudoxml*"
    (shell-command-on-region
     (if mark-active (region-beginning) (point-min))
     (if mark-active (region-end) (point-max))
     (cadr (assq 'pseudoxml rst-compile-toolsets))
     standard-output)))