projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6d164f
)
* lisp/xml.el (xml-parse-tag-1): Replace undefined function.
author
Glenn Morris
<rgm@gnu.org>
Wed, 16 Mar 2016 21:24:36 +0000
(17:24 -0400)
committer
Glenn Morris
<rgm@gnu.org>
Wed, 16 Mar 2016 21:24:36 +0000
(17:24 -0400)
; string-empty-p is defined in subr-x, but this file does not load it.
lisp/xml.el
patch
|
blob
|
history
diff --git
a/lisp/xml.el
b/lisp/xml.el
index 1802d04dfaf8c53ea43a833d728df1a8766c807a..414300cb40207259c7de62d90f8572447c5c0ed0 100644
(file)
--- a/
lisp/xml.el
+++ b/
lisp/xml.el
@@
-580,7
+580,7
@@
Return one of:
;; However, if we're parsing incrementally, then we need to deal
;; with stray CDATA.
(let ((s (xml-parse-string)))
- (when (
string-empty-p s
)
+ (when (
zerop (length s)
)
;; We haven't consumed any input! We must throw an error in
;; order to prevent looping forever.
(error "XML: (Not Well-Formed) Could not parse: %s"