all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.