Function: sgml-fill-nobreak
sgml-fill-nobreak is a byte-compiled function defined in
sgml-mode.el.gz.
Signature
(sgml-fill-nobreak)
Documentation
Don't break between a tag name and its first argument.
This function is designed for use in fill-nobreak-predicate.
<a href="some://where" type="text/plain">
^ ^
| no break here | but still allowed here
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/sgml-mode.el.gz
(defun sgml-fill-nobreak ()
"Don't break between a tag name and its first argument.
This function is designed for use in `fill-nobreak-predicate'.
<a href=\"some://where\" type=\"text/plain\">
^ ^
| no break here | but still allowed here"
(save-excursion
(skip-chars-backward " \t")
(and (not (zerop (skip-syntax-backward "w_")))
(skip-chars-backward "/?!")
(eq (char-before) ?<))))