unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* setcdr question
@ 2013-07-01 22:46 drain
  2013-07-02  2:12 ` Pierre Lorenzon
  2013-07-02  9:06 ` Nicolas Richard
  0 siblings, 2 replies; 9+ messages in thread
From: drain @ 2013-07-01 22:46 UTC (permalink / raw)
  To: Help-gnu-emacs

(setq list '(Trevor Jason John Alex Max))

(setcdr (nthcdr (1- 4) list) 'Christina)

list

"list" is now set to:

(Trevor Jason John Alex . Christina)

Why is the dot there?



--
View this message in context: http://emacs.1067599.n5.nabble.com/setcdr-question-tp290941.html
Sent from the Emacs - Help mailing list archive at Nabble.com.



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

end of thread, other threads:[~2013-07-04 19:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-01 22:46 setcdr question drain
2013-07-02  2:12 ` Pierre Lorenzon
2013-07-02  9:06 ` Nicolas Richard
2013-07-02  9:17   ` Teemu Likonen
2013-07-02 22:17     ` drain
2013-07-02 22:26       ` drain
2013-07-03  9:13       ` Pierre Lorenzon
     [not found]       ` <mailman.90.1372804018.12400.help-gnu-emacs@gnu.org>
2013-07-03 13:04         ` Rustom Mody
2013-07-04 19:19           ` drain

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).