all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* post-command-hook
@ 2011-04-01 15:58 martin rudalics
  2011-04-01 18:05 ` post-command-hook Antoine Levitt
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: martin rudalics @ 2011-04-01 15:58 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-04-04  1:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-01 15:58 post-command-hook martin rudalics
2011-04-01 18:05 ` post-command-hook Antoine Levitt
2011-04-02  7:02   ` post-command-hook martin rudalics
2011-04-02  8:36     ` post-command-hook Antoine Levitt
2011-04-02 14:25 ` post-command-hook Juanma Barranquero
2011-04-02 21:40 ` post-command-hook Stefan Monnier
2011-04-02 22:00   ` post-command-hook Antoine Levitt
2011-04-02 22:38   ` post-command-hook Johan Bockgård
2011-04-04  1:09     ` post-command-hook Stefan Monnier
2011-04-03  7:38   ` post-command-hook martin rudalics

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.