+2011-03-06 Kevin Ryde <user42@zip.com.au>
+
+ * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
+
2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
* window.el (one-window-p, walk-windows, display-buffer):
(format-mode-line mode-name))))))
(defun sgml-fill-nobreak ()
- ;; Don't break between a tag name and its first argument.
+ "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_")))