Function: sgml-maybe-end-tag

sgml-maybe-end-tag is an interactive and byte-compiled function defined in sgml-mode.el.gz.

Signature

(sgml-maybe-end-tag &optional ARG)

Documentation

Name self unless in position to end a tag or a prefix ARG is given.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/sgml-mode.el.gz
(defun sgml-maybe-end-tag (&optional arg)
  "Name self unless in position to end a tag or a prefix ARG is given."
  (interactive "P")
  (if (or arg (eq (car (sgml-lexical-context)) 'tag))
      (self-insert-command (prefix-numeric-value arg))
    (sgml-name-self)))