Function: sgml-forward-sexp
sgml-forward-sexp is a byte-compiled function defined in
sgml-mode.el.gz.
Signature
(sgml-forward-sexp N)
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/sgml-mode.el.gz
(defun sgml-forward-sexp (n)
;; This function is needed in major-modes such as nxml-mode where
;; forward-sexp-function is used to give a more dwimish behavior to
;; the `forward-sexp' command.
;; Without it, we can end up with backtraces like:
;; "get-text-property" (0xffffc0f0)
;; "nxml-token-after" (0xffffc2ac)
;; "nxml-forward-single-balanced-item" (0xffffc46c)
;; "nxml-forward-balanced-item" (0xffffc61c)
;; "forward-sexp" (0xffffc7f8)
;; "sgml-parse-tag-backward" (0xffffc9c8)
;; "sgml-lexical-context" (0xffffcba8)
;; "sgml-mode-flyspell-verify" (0xffffcd74)
;; "flyspell-word" (0xffffcf3c)
;; "flyspell-post-command-hook" (0xffffd108)
;; FIXME: should we also set the sgml-tag-syntax-table?
(let ((forward-sexp-function nil))
(forward-sexp n)))