Use prefixed version of cl-loop

I ran into some issues with the un-prefixed `loop` combined with the `for` keyword. I think the issue is that newer versions of Emacs don't alias `loop` to `cl-loop` by default? I had to explicitly require `cl` to make it work.
This commit is contained in:
Avdi Grimm 2017-01-03 14:37:52 -05:00 committed by GitHub
parent cc4f3cdb00
commit 0e758d06f9

View File

@ -248,7 +248,7 @@ plist used as a communication channel."
INFO is a plist used as a communication channel." INFO is a plist used as a communication channel."
(let* ((fn-alist (org-export-collect-footnote-definitions info)) (let* ((fn-alist (org-export-collect-footnote-definitions info))
(fn-alist (fn-alist
(loop for (n type raw) in fn-alist collect (cl-loop for (n type raw) in fn-alist collect
(cons n (org-trim (org-export-data raw info)))))) (cons n (org-trim (org-export-data raw info))))))
(when fn-alist (when fn-alist
(format (format