Closed shackra closed 4 years ago
Hi, thanks for reporting (yet another) bug ❤️
This is because command-execute
calls disabled-command-function
hook when the command is disabled, which means it's not trapped.
I'm not sure how to read the comment and docs for disabled-command-function
, there's no proper elisp docs. There's a comment saying "FIXME"; not inspiring... it's called via run-hooks
, so hypothetically anyone can add-hook
on it, but the documentation set in novice.el
implies it's only supposed to be A function.
However, add-hook
does work even with it's default value, so I'm going to be defensive and conclude that disabled-command-function
should be treated as a regular hook list.
Bug fix incoming...
Hi, thanks for reporting yet another bug 🙏 this is fixed now, I think! I tested list-timers
in a emacs -Q
which causes disabled-command
to fire manually as well.
cool, thanks!
El mié., 15 de jul. de 2020 a la(s) 01:13, Lin Xu (notifications@github.com) escribió:
Hi, thanks for reporting yet another bug 🙏 this is fixed now, I think! I tested list-timers in a emacs -Q which causes disabled-command to fire manually as well.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lastquestion/explain-pause-mode/issues/73#issuecomment-658590380, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIBT4GI2WU4H43EA5ED5KTR3VJK5ANCNFSM4OY4RYBA .
hello!