[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-drill 5d4f60d49d 167/251: Silence more unused variable
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-drill 5d4f60d49d 167/251: Silence more unused variable messages |
Date: |
Mon, 17 Jan 2022 18:59:13 -0500 (EST) |
branch: elpa/org-drill
commit 5d4f60d49d84ed0c22cfc1be0a84e87a82c1c5b3
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>
Silence more unused variable messages
---
org-drill.el | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/org-drill.el b/org-drill.el
index 1b67067de4..c5b3366bca 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -3233,8 +3233,7 @@ values as `org-drill-scope'."
the tag 'imported'."
(cl-block org-drill-copy-entry-to-other-buffer
(save-excursion
- (let ((src (current-buffer))
- (m nil))
+ (let ((m nil))
(cl-flet ((paste-tree-here (&optional level)
(org-paste-subtree level)
(org-drill-strip-entry-data)
@@ -3359,7 +3358,7 @@ copy them across."
;; which have been scheduled by another user of DEST. Clear out the
;; scheduling info from all the unmatched items in DEST.
(with-current-buffer dest
- (maphash (lambda (id m)
+ (maphash (lambda (_id m)
(goto-char m)
(org-drill-strip-entry-data)
(org-drill-free-marker m))
@@ -3463,7 +3462,7 @@ and conjugate for the %s.\n\n"
"Show the answer for a drill item whose card type is 'conjugate'.
RESCHEDULE-FN must be a function that calls `org-drill-reschedule' and
returns its return value."
- (cl-destructuring-bind (infinitive inf-hint translation tense mood)
+ (cl-destructuring-bind (infinitive _inf-hint translation tense mood)
(org-drill-get-verb-conjugation-info)
(with-replaced-entry-heading
(format "%s of %s ==> %s\n\n"
@@ -3528,7 +3527,7 @@ returns its return value."
(defun org-drill-present-noun-declension (session)
"Present a drill entry whose card type is 'decline_noun'."
- (cl-destructuring-bind (noun noun-root noun-gender noun-hint translation)
+ (cl-destructuring-bind (noun _noun-root noun-gender noun-hint translation)
(org-drill-get-noun-info)
(let* ((props (org-entry-properties (point)))
(definite
@@ -3568,7 +3567,7 @@ and list its declensions%s.\n\n"
"Show the answer for a drill item whose card type is 'decline_noun'.
RESCHEDULE-FN must be a function that calls `org-drill-reschedule' and
returns its return value."
- (cl-destructuring-bind (noun noun-root noun-gender noun-hint translation)
+ (cl-destructuring-bind (noun _noun-root noun-gender _noun-hint translation)
(org-drill-get-noun-info)
(with-replaced-entry-heading
(format "Declensions of %s (%s) ==> %s\n\n"
- [nongnu] elpa/org-drill c49af4a9b3 155/251: Replace more non-namespaced commands, (continued)
- [nongnu] elpa/org-drill c49af4a9b3 155/251: Replace more non-namespaced commands, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 118e76ff9c 154/251: Replace more non-namespaced command, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 20c90836aa 169/251: Speed up robot tests with polling, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 1801524221 178/251: Fix call to format, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 2f056255e6 192/251: Re-namespace with-hidden-cloze-text, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 61807adc7f 166/251: Remove spell-number.el dependency, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 0eaacf2a2d 176/251: Remove legacy code, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 8ebb0d27d6 194/251: package-lint cleaning, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill c59c49a4df 172/251: Remove call to cl, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill c65634b454 195/251: Remove hi-lock dependency, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 5d4f60d49d 167/251: Silence more unused variable messages,
ELPA Syncer <=
- [nongnu] elpa/org-drill 3b0f44592f 186/251: Add compatibility hacks to support org-mode 8, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 2811c3f562 174/251: Replace dynamic scoping with let, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 502961433b 196/251: Remove savehist dependency, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 362c643163 182/251: Fix more compile error messages, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill dd55dbe699 187/251: Fix call to org-drill-entry-overdue-p, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill de11158c99 171/251: Replace more dynamic scoping, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill d6d940c9c5 170/251: Improve poll, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 8644cfd761 184/251: Fix more byte compile errors, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 56ddd56396 213/251: Update documentation, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 03551ffa3c 231/251: Show LaTex overlays after clearing them, ELPA Syncer, 2022/01/17