From 0e758d06f9d644f21aa4d5d8c41d48b5f2535f3c Mon Sep 17 00:00:00 2001 From: Avdi Grimm Date: Tue, 3 Jan 2017 14:37:52 -0500 Subject: [PATCH 1/2] 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 From e2ce3cc130976c7c4b0c1aa2690a226748b0bc64 Mon Sep 17 00:00:00 2001 From: Lars Tveito Date: Wed, 4 Jan 2017 11:48:23 +0100 Subject: [PATCH 2/2] fix indent --- ox-gfm.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ox-gfm.el b/ox-gfm.el index 40c54a8..542eb7a 100644 --- a/ox-gfm.el +++ b/ox-gfm.el @@ -249,7 +249,7 @@ INFO is a plist used as a communication channel." (let* ((fn-alist (org-export-collect-footnote-definitions info)) (fn-alist (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 (format "## %s\n%s"