unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* strange behavior of mapconcat
@ 2024-04-15 15:43 shortcutz
  2024-04-15 15:57 ` shortcutz
  2024-04-16  6:36 ` Joost Kremers
  0 siblings, 2 replies; 4+ messages in thread
From: shortcutz @ 2024-04-15 15:43 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

In a piece of code I call mapconcat with these arguments:

(mapconcat 'org-no-properties "t" " ")

I'm getting the error (wrong-type-argument sequencep 115). This is the same
if I use the identity function or any other string instead of "t":

(mapconcat 'identity "t" " ")
(mapconcat 'identity "string1 string2" " ")

What am I doing wrong? I don't really understand where the 115 is coming
from. The code is unchanged after macroexpanding, and sequencep says
"string1 string2" and "t" are both valid sequences.

Thanks
R


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-16  6:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-15 15:43 strange behavior of mapconcat shortcutz
2024-04-15 15:57 ` shortcutz
2024-04-16  6:16   ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-04-16  6:36 ` Joost Kremers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).