bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19684: 25.0.50; `this-command` is set to `nil` before `window-scroll


From: martin rudalics
Subject: bug#19684: 25.0.50; `this-command` is set to `nil` before `window-scroll-functions` hook runs.
Date: Sun, 25 Jan 2015 11:38:51 +0100

> To the extent that a user wishes to use the value of `this-command`
> within a function attached to the `window-scroll-functions` hook, a
> workaround is needed because the default value is `nil`.  In other
> words, something at the C source code level is setting the value to
> `nil` before the `window-scroll-functions` hook runs.

Couldn't you use `last-command' here?

martin





reply via email to

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