[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why don't let bound values die?
From: |
Stefan Monnier |
Subject: |
Re: Why don't let bound values die? |
Date: |
Fri, 03 Sep 2010 23:52:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> When accessing this menu item a temporary command symbol is set up (if
> I understand this correctly), something like menu-function-21.
No, this symbol is setup when the menu is defined.
> I tried to avoid adding such symbols like menu-function-21 to the
> history list.
One way is to check whether they're interned in `obarray'.
> I thought it would be gone if I looked for it in a
> run-with-idle-timer timer, but it is not.
I have no clue whatsoever what you mean by "looked for it in
a run-with-idle-timer". Then again, I have no idea why you say "let
bound" in the title, so I'm clearly missing something.
> I do not understand why and would be glad for an explanation.
Why what?
> (I fixed it by saving the symbol name and checking for it with
> intern-soft.)
That means checking that it's interned in `obarray', so it sounds like
a good solution.
Stefan