From 0e758d06f9d644f21aa4d5d8c41d48b5f2535f3c Mon Sep 17 00:00:00 2001 From: Avdi Grimm Date: Tue, 3 Jan 2017 14:37:52 -0500 Subject: [PATCH] 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. --- ox-gfm.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ox-gfm.el b/ox-gfm.el index 8017d78..40c54a8 100644 --- a/ox-gfm.el +++ b/ox-gfm.el @@ -248,7 +248,7 @@ plist used as a communication channel." INFO is a plist used as a communication channel." (let* ((fn-alist (org-export-collect-footnote-definitions info)) (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)))))) (when fn-alist (format