[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: post-command-hook
From: |
Johan Bockgård |
Subject: |
Re: post-command-hook |
Date: |
Sun, 03 Apr 2011 00:38:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> (defun foo ()
>> (message "foo"))
>> (defun bar ()
>> (message "bar"))
>> (add-hook 'post-command-hook 'foo)
>> (add-hook 'post-command-hook 'bar nil t)
>
> I think the patch below fixes it,
>
> safe_run_hooks_1 (void)
> {
> eassert (CONSP (Vinhibit_quit));
> - return call0 (XCDR (Vinhibit_quit));
> + call0 (XCDR (Vinhibit_quit));
> + return Qnil;
> }
Shouldn't the "return nil" be in safe_run_hook_funcall instead?