Browse Source

org-feed.el: Load the xml library before substituting a guid XML element

* lisp/org-feed.el (org-feed-parse-rss-feed): Load the xml library
before calling `xml-substitute-special`.

TINYCHANGE
Hiroshi Saito 9 years ago
parent
commit
d452176885
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lisp/org-feed.el

+ 1 - 0
lisp/org-feed.el

@@ -604,6 +604,7 @@ Assumes headers are indeed present!"
   "Parse BUFFER for RSS feed entries.
 Returns a list of entries, with each entry a property list,
 containing the properties `:guid' and `:item-full-text'."
+  (require 'xml)
   (let ((case-fold-search t)
 	entries beg end item guid entry)
     (with-current-buffer buffer