diff options
author | Stig Brautaset <stig@brautaset.org> | 2017-07-14 20:57:39 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-07-23 11:06:41 +0200 |
commit | a49e146621d03cd726b8b77c99c9a2e182611d65 (patch) | |
tree | 593e56243e55eb16d7e3f61332c111cf94105d16 | |
parent | 3e1aeac3b3d57dfab86c2cc230fad1459a0cecc8 (diff) | |
download | org-mode-a49e146621d03cd726b8b77c99c9a2e182611d65.tar.gz |
Use cl-lib rather than cl variants in org-drill
org-drill requires only cl-lib rather than cl, so should use cl-gensym
rather than gensym I believe.
From 1eef99d550e467bf4a3eaf6bdbe4d3a482f6c187 Mon Sep 17 00:00:00 2001
From: Stig Brautaset <stig@brautaset.org>
Date: Fri, 14 Jul 2017 20:45:37 +0100
Subject: [PATCH 2/3] org-drill.el: use cl-gensym rather than gensym
cl-lib is already required by this file, but cl is not.
-rw-r--r-- | contrib/lisp/org-drill.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lisp/org-drill.el b/contrib/lisp/org-drill.el index fb578ab..7c4a299 100644 --- a/contrib/lisp/org-drill.el +++ b/contrib/lisp/org-drill.el @@ -622,7 +622,7 @@ regardless of whether the test was successful.") (defmacro pop-random (place) - (let ((idx (gensym))) + (let ((idx (cl-gensym))) `(if (null ,place) nil (let ((,idx (random* (length ,place)))) |