help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Element-Relative Sequence Insertion


From: Nordlöw
Subject: Element-Relative Sequence Insertion
Date: Thu, 11 Jun 2009 05:11:01 -0700 (PDT)
User-agent: G2/1.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]