diff options
| author | Glenn Morris | 2016-03-16 17:24:36 -0400 |
|---|---|---|
| committer | Glenn Morris | 2016-03-16 17:24:36 -0400 |
| commit | ce533897e0523dd1930c74789641c5feb96473a3 (patch) | |
| tree | 904f8c2ed6b7dd749314a366a03970f8d4ef7db5 | |
| parent | d6d164f6110a68a3acb816fd2ae7e55e71a18aef (diff) | |
| download | emacs-ce533897e0523dd1930c74789641c5feb96473a3.tar.gz emacs-ce533897e0523dd1930c74789641c5feb96473a3.zip | |
* lisp/xml.el (xml-parse-tag-1): Replace undefined function.
; string-empty-p is defined in subr-x, but this file does not load it.
| -rw-r--r-- | lisp/xml.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/xml.el b/lisp/xml.el index 1802d04dfaf..414300cb402 100644 --- a/lisp/xml.el +++ b/lisp/xml.el | |||
| @@ -580,7 +580,7 @@ Return one of: | |||
| 580 | ;; However, if we're parsing incrementally, then we need to deal | 580 | ;; However, if we're parsing incrementally, then we need to deal |
| 581 | ;; with stray CDATA. | 581 | ;; with stray CDATA. |
| 582 | (let ((s (xml-parse-string))) | 582 | (let ((s (xml-parse-string))) |
| 583 | (when (string-empty-p s) | 583 | (when (zerop (length s)) |
| 584 | ;; We haven't consumed any input! We must throw an error in | 584 | ;; We haven't consumed any input! We must throw an error in |
| 585 | ;; order to prevent looping forever. | 585 | ;; order to prevent looping forever. |
| 586 | (error "XML: (Not Well-Formed) Could not parse: %s" | 586 | (error "XML: (Not Well-Formed) Could not parse: %s" |