Vicente Vera <vicente...@gmail.com> writes:

> Hi.
> Don't think there are more details to provide. The error message
> appears upon pressing C-c C-c (bound to the org-ctrl-c-ctrl-c command)
> on a headline, doesn't matter which level.
> It happened in 3 different Org files, one of which was created for testing.
> Also tried with "emacs -q" but the error persisted.
>
> Strange message though, org-tags-completion-function is a function,
> not a variable, so why is Emacs complaining that it isn't a list?
> Probably related to commit acf7f47ecd20a48c05f97dc660b00d1850b57e10?

I see this error too; the patch below fixes it for me (and corrects the
nexting level of 'completing-read too ...)

best regards
Marc


diff --git a/lisp/org.el b/lisp/org.el
index 8a00847..f440382 100755
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -10512,10 +10512,11 @@ from."
                  (listp (second args)))
             'org-iswitchb-completing-read)
            (t (or (and (boundp 'completing-read-function)
-                       completing-read-function)
-                  'completing-read)))
+                       completing-read-function))
+              'completing-read))
       (concat (car args))
-      (if (consp (car (nth 1 args)))
+      (if (and (consp (nth 1 args))
+              (consp (car (nth 1 args))))
          (mapcar 'car (nth 1 args))
        (nth 1 args))
       (cddr args)))))

Reply via email to