gnu.emacs.bug
[Top] [All Lists]

Re: Strange error caused by post-command-hook.

Subject: Re: Strange error caused by post-command-hook.
From: martin rudalics
Date: Wed, 11 Jul 2007 13:47:47 +0200
Newsgroups: gnu.emacs.bug


> I have inserted the re-defined find-file in my .emacs file.
> Once the problem returns, I will report the value of
> post-command-hook.
> (Aha, I see that the problem may happen before find-file gets executed.
> How complicated...)

I expected that.  Try the following (more intrusive):

(add-hook 'pre-command-hook
          (lambda ()
            (when post-command-hook
              (message "... %s" post-command-hook))))




<Prev in Thread] Current Thread [Next in Thread>