From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexander.haeckel@web.de Subject: [PATCH] org-drill.el: Fix void function error Date: Sat, 16 Mar 2019 12:38:21 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h57dw-0005xe-U2 for emacs-orgmode@gnu.org; Sat, 16 Mar 2019 07:38:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h57dw-0007ZF-74 for emacs-orgmode@gnu.org; Sat, 16 Mar 2019 07:38:24 -0400 Received: from mout.web.de ([217.72.192.78]:52763) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h57dv-0007Xj-Q4 for emacs-orgmode@gnu.org; Sat, 16 Mar 2019 07:38:24 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org * org-drill.el (org-drill--compute-cloze-keywords, org-drill-cloze-regexp)= Use real function name cl-copy-list instead of alias copy-list, because of v= oid function error at org startup in emacs 26.1 for org-plus-contrib package= . =2D-- contrib/lisp/org-drill.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/lisp/org-drill.el b/contrib/lisp/org-drill.el index 1c11515..36b5bb4 100644 =2D-- a/contrib/lisp/org-drill.el +++ b/contrib/lisp/org-drill.el @@ -241,9 +241,9 @@ the hidden cloze during a test.") (defun org-drill--compute-cloze-keywords () (list (list (org-drill--compute-cloze-regexp) - (copy-list '(1 'org-drill-visible-cloze-face nil)) - (copy-list '(2 'org-drill-visible-cloze-hint-face t)) - (copy-list '(3 'org-drill-visible-cloze-face nil)) + (cl-copy-list '(1 'org-drill-visible-cloze-face nil)) + (cl-copy-list '(2 'org-drill-visible-cloze-hint-face t)) + (cl-copy-list '(3 'org-drill-visible-cloze-face nil)) ))) (defvar-local org-drill-cloze-regexp @@ -1011,7 +1011,7 @@ in the matrix." (learn-str (let ((learn-data (or (and learn-str (read learn-str)) - (copy-list initial-repetition-state)))) + (cl-copy-list initial-repetition-state)))) (list (nth 0 learn-data) ; last interval (nth 1 learn-data) ; repetitions (org-drill-entry-failure-count) =2D- 2.6.2