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

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

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


From: martin rudalics
Subject: Re: Strange error caused by post-command-hook.
Date: Wed, 11 Jul 2007 13:47:47 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> 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))))





reply via email to

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