[Top][All Lists]

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

Is this a bug of Emacs-Lisp?

From: Zhang Wei
Subject: Is this a bug of Emacs-Lisp?
Date: Fri, 17 Feb 2006 13:47:41 +0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

(defun dummy () '(1 . 2))

 => (1 . 2)

(setcdr (dummy) 3)

 => (1 . 3)

Modify the return value of dummy changed it's defination. Is this
a bug of Elisp? If it's not. How does this happen?

Zhang Wei or Brep

reply via email to

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