[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git tip: Error in winner-save-old-configurations (flyspell-post-comm
From: |
Jose A Ortega Ruiz |
Subject: |
Re: git tip: Error in winner-save-old-configurations (flyspell-post-command-hook): (wrong-type-argument stringp nil) [73 times] |
Date: |
Wed, 07 Sep 2022 20:43:29 +0100 |
On Wed, Sep 07 2022, Stefan Monnier wrote:
> Sam Steingold [2022-09-06 15:47:23] wrote:
>> Error in winner-save-old-configurations (flyspell-post-command-hook):
>> (wrong-type-argument stringp nil)
>
> Hmm... actually, this is a good clue: in this error message the part
> after "in" should be the hook's name.
>
> So I suspect the problem comes from my
> commit 5cae71834bd55e0bf90689b12b801206ee8c9da9.
>
> More specifically, I suspect that the (hideous) patch below might fix
> your problem. Could you confirm (so I can find a better fix)?
>
>
> Stefan
>
>
> diff --git a/src/keyboard.c b/src/keyboard.c
> index 77280d08c5b..6b4253b7256 100644
> --- a/src/keyboard.c
> +++ b/src/keyboard.c
> @@ -1887,6 +1887,7 @@ safe_run_hook_funcall (ptrdiff_t nargs, Lisp_Object
> *args)
> args[0] = hook, args[1] = fun;
> internal_condition_case_n (safe_run_hooks_1, nargs, args,
> Qt, safe_run_hooks_error);
> + args[0] = fun, args[1] = hook;
> return Qnil;
> }
this also seems to be solving the problem for me, thanks!
jao
--
Nothing so soothes our vanity as a display of greater vanity in
others; it makes us vain, in fact, of our modesty.
-Louis Kronenberger, writer (1904-1980)
Re: git tip: Error in winner-save-old-configurations (flyspell-post-command-hook): (wrong-type-argument stringp nil) [73 times], Juri Linkov, 2022/09/07
Re: git tip: Error in winner-save-old-configurations (flyspell-post-command-hook): (wrong-type-argument stringp nil) [73 times], Stefan Monnier, 2022/09/07
Re: git tip: Error in winner-save-old-configurations (flyspell-post-command-hook): (wrong-type-argument stringp nil) [73 times], Stefan Monnier, 2022/09/08