+2002-04-14 Mike Williams <mdub@bigfoot.com>
+
+ * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
+ beginning of buffer.
+
2002-04-14 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
* speedbar.el (speedbar-generic-item-info)
Assume that parsing starts from within a textual context.
Leave point at the beginning of the tag."
(let (tag-type tag-start tag-end name)
- (search-backward ">")
+ (or (search-backward ">" nil 'move)
+ (error "No tag found"))
(setq tag-end (1+ (point)))
(cond
((sgml-looking-back-at "--") ; comment