|
From: | Alexis |
Subject: | Re: [O] orgmode-contacts "wrong type arguments" |
Date: | Tue, 17 Feb 2015 19:55:23 +1100 |
On 2015-02-17T00:17:59+1100, Tory S. Anderson said:TSA> In my efforts to improve my elisp, can anyone tell me why the code TSA> doesn't work, and what might have changed to cause it to break?
TSA> Error: completion-in-region: Wrong type argument: listp, #("NAME TSA> <address@hidden>, NAME <address@hidden>, NAME TSA> <address@hidden>, NAME <address@hidden>" 0 15 (fontified TSA> nil org-category "contacts") 44 65 (fontified nil org-category TSA> "contacts") 88 99 (fontified nil org-category "contacts") 127 TSA> 141 (fontified nil org-category "contacts"))
It looks like something in `completion-in-region` wanted a plain old list of items, but instead got a propertized string. For further information, check out section "31.19.2, Changing Text Properties" of the Emacs Lisp Reference Manual - in particular, the entry for the `propertize` function.
Alexis.
[Prev in Thread] | Current Thread | [Next in Thread] |