all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* inserting a cons cell returned by a function
@ 2024-08-13 19:09 Heime
  2024-08-14  0:46 ` Joel Reicher
  0 siblings, 1 reply; 5+ messages in thread
From: Heime @ 2024-08-13 19:09 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor

Have made a function navcons that returns a cons cell.

Whilst this works

      (insert (format " /* %s\n" (navcons "/*")))

why does this fail ?

      (insert (format " %s %s\n" comment-start (navcons comment-start)))




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

end of thread, other threads:[~2024-08-14 11:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-13 19:09 inserting a cons cell returned by a function Heime
2024-08-14  0:46 ` Joel Reicher
2024-08-14 10:46   ` Heime
2024-08-14 10:56     ` Joel Reicher
2024-08-14 11:19       ` Heime

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.