[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Is this a bug of Emacs-Lisp?
From: |
Drew Adams |
Subject: |
RE: Is this a bug of Emacs-Lisp? |
Date: |
Fri, 17 Feb 2006 21:26:15 -0800 |
If you really want to create a new cons cell every time (dummy) runs,
you'll have to explicitly do that in the function:
(defun dummy () (copy-tree '(1 . 2)))
Sure, but that's really doing things the hard way! If you want a new cons
cell, then function `cons' is your man - no need to beat around the bush:
(defun dummy () (cons 1 . 2))
- Is this a bug of Emacs-Lisp?, Zhang Wei, 2006/02/17
- Re: Is this a bug of Emacs-Lisp?, David Kastrup, 2006/02/17
- Re: Is this a bug of Emacs-Lisp?, Kevin Rodgers, 2006/02/17
- Re: Is this a bug of Emacs-Lisp?, Giorgos Keramidas, 2006/02/17
- RE: Is this a bug of Emacs-Lisp?,
Drew Adams <=
- Re: Is this a bug of Emacs-Lisp?, Andreas Schwab, 2006/02/17
- Re: Is this a bug of Emacs-Lisp?, Luc Teirlinck, 2006/02/17
- Re: Is this a bug of Emacs-Lisp?, Luc Teirlinck, 2006/02/17
- Re: Is this a bug of Emacs-Lisp?, Alan Mackenzie, 2006/02/17
- Re: Is this a bug of Emacs-Lisp?, Sascha Wilde, 2006/02/17
- Re: Is this a bug of Emacs-Lisp?, Richard M. Stallman, 2006/02/18