Function: sgml-show-context

sgml-show-context is an interactive and byte-compiled function defined in sgml-mode.el.gz.

Signature

(sgml-show-context &optional FULL)

Documentation

Display the current context.

If FULL is non-nil, parse back to the beginning of the buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/sgml-mode.el.gz
(defun sgml-show-context (&optional full)
  "Display the current context.
If FULL is non-nil, parse back to the beginning of the buffer."
  (interactive "P")
  (with-output-to-temp-buffer "*XML Context*"
    (save-excursion
      (let ((context (sgml-get-context)))
	(when full
	  (let ((more nil))
	    (while (setq more (sgml-get-context))
	      (setq context (nconc more context)))))
	(pp context)))))