[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
post-command-hook
From: |
martin rudalics |
Subject: |
post-command-hook |
Date: |
Fri, 01 Apr 2011 17:58:00 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
After updating my trunk I'm completely lost with the following issue:
With emacs -Q, switch to the buffer *Messages*, make it empty and
evaluate the following forms in it:
(defun foo ()
(message "foo"))
(defun bar ()
(message "bar"))
(add-hook 'post-command-hook 'foo)
(add-hook 'post-command-hook 'bar nil t)
Now move around that buffer. Here it only runs the local hook function
"bar". It does _not_ run the global hook function "foo".
All my earlier Emacs versions run both hooks alternately.
GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2011-04-01 on NESTOR
Help appreciated, martin
- post-command-hook,
martin rudalics <=