org-element: Tiny refactoring
commit2084ff06d8b10f4c26be0b3316a949585a87e439
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 14 Jun 2014 15:27:45 +0000 (14 17:27 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 19 Jun 2014 20:32:22 +0000 (19 22:32 +0200)
tree6c8b090ce597ab32c3ce4ec631edf44906c43573
parentc6cc27c5ec41d447f7ea0f45e153c9352f8a6403
org-element: Tiny refactoring

* lisp/org-element.el (org-element--cache-sync): Do not check return
  value from `org-element--cache-process-request'.
(org-element--cache-process-request): Throw `interrupt' when the
request cannot be processed.
(org-element--cache-process-request): Do not catch interruption from
  `org-element--parse-to'.
(org-element--parse-to): Throw `interrupt' when the process stops
before finding the result.
lisp/org-element.el