all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Element-Relative Sequence Insertion
@ 2009-06-11 12:11 Nordlöw
  2009-06-11 12:38 ` Pascal J. Bourguignon
  0 siblings, 1 reply; 8+ messages in thread
From: Nordlöw @ 2009-06-11 12:11 UTC (permalink / raw)
  To: help-gnu-emacs

How do I insert an element (object) relative to another in a sequence
(or list in my case)? Example:

(insert-after 'X '(a b c) 'b)  => '(a b X c)
(insert-before 'X '(a b c) b)  => '(a X b c)

Thanks in advance,
Nordlöw


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

end of thread, other threads:[~2009-06-13 16:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-11 12:11 Element-Relative Sequence Insertion Nordlöw
2009-06-11 12:38 ` Pascal J. Bourguignon
2009-06-11 12:51   ` Nordlöw
2009-06-11 13:01     ` Pascal J. Bourguignon
2009-06-11 14:18       ` Marc Tfardy
2009-06-11 14:36         ` Pascal J. Bourguignon
2009-06-11 15:01           ` Marc Tfardy
2009-06-13 16:47           ` Johan Bockgård

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.