(xmltok-forward): Simplify.
+2008-10-03 Mario Lang <mlang@delysid.org>
+
+ * nxml/xmltok.el (xmltok-forward): Simplify.
+
2008-10-03 Glenn Morris <rgm@gnu.org>
* frame.el (set-default-font): Make obsolete.
(cond ((> space-count 0)
(setq xmltok-type 'space))
(t
- (goto-char (1+ (point)))
+ (forward-char 1)
(xmltok-scan-after-lt))))
((eq ch ?\&)
(cond ((> space-count 0)
(setq xmltok-type 'space))
(t
- (goto-char (1+ (point)))
- (xmltok-scan-after-amp
- (lambda (start end)
- (xmltok-handle-entity start end))))))
+ (forward-char 1)
+ (xmltok-scan-after-amp 'xmltok-handle-entity))))
((re-search-forward "[<&]\\|\\(]]>\\)" nil t)
(cond ((not (match-beginning 1))
(goto-char (match-beginning 0))