[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24959: 26.0.50; cancel-timer: void-variable timer
From: |
Lars Ingebrigtsen |
Subject: |
bug#24959: 26.0.50; cancel-timer: void-variable timer |
Date: |
Thu, 17 Nov 2016 19:09:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Oleg Sivokon <oleg.sivokon@elastifile.com> writes:
> No, I don't use lexical bindings in this code. But, my point is that
> the behavior of setq used to be to make variable special (i.e.
> universaly accessible, like global, except it can be let-bound
> temporarily), which it doesn't seem to do anymore.
It does for me.
[...]
>>> (setq timer (run-at-time 1 1 (lambda () (cancel-timer timer)))
You've forgotten an end parentheses there. If I add one and eval the
form, it works fine for me.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#24959: 26.0.50; cancel-timer: void-variable timer, Oleg Sivokon, 2016/11/17
- bug#24959: 26.0.50; cancel-timer: void-variable timer, Eli Zaretskii, 2016/11/17
- bug#24959: 26.0.50; cancel-timer: void-variable timer, Lars Ingebrigtsen, 2016/11/17
- bug#24959: 26.0.50; cancel-timer: void-variable timer, Oleg Sivokon, 2016/11/17
- bug#24959: 26.0.50; cancel-timer: void-variable timer, Lars Ingebrigtsen, 2016/11/17
- bug#24959: 26.0.50; cancel-timer: void-variable timer, Oleg Sivokon, 2016/11/17
- bug#24959: 26.0.50; cancel-timer: void-variable timer, Lars Ingebrigtsen, 2016/11/17
- bug#24959: 26.0.50; cancel-timer: void-variable timer, Oleg Sivokon, 2016/11/17
- bug#24959: 26.0.50; cancel-timer: void-variable timer,
Lars Ingebrigtsen <=
- bug#24959: 26.0.50; cancel-timer: void-variable timer, Oleg Sivokon, 2016/11/17
- bug#24959: 26.0.50; cancel-timer: void-variable timer, Oleg Sivokon, 2016/11/17
- bug#24959: 26.0.50; cancel-timer: void-variable timer, Lars Ingebrigtsen, 2016/11/17
- bug#24959: 26.0.50; cancel-timer: void-variable timer, Oleg Sivokon, 2016/11/17