[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23.3; `let' behavior is strange.
From: |
Xiaojiang Shen |
Subject: |
23.3; `let' behavior is strange. |
Date: |
Wed, 28 Mar 2012 18:42:46 -0000 |
User-agent: |
G2/1.0 |
(progn (put 'defun 'x "out")
(let ((old (plist-member (symbol-plist 'defun) 'x)))
(message "old: %s." old)
(put 'defun 'x "in")
(message "old: %s." old)
nil))
When I eval this form, I get something like this in *message* buffer:
old: (x out).
old: (x in).
nil
I thought it should be:
old: (x out).
old: (x out).
nil
If it is not a bug, how can I save the symbol's previous property?
Thank you.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- 23.3; `let' behavior is strange.,
Xiaojiang Shen <=