emacs-devel
[Top][All Lists]
Advanced

[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: Stefan Monnier
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 14:00:04 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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;
 }
 




reply via email to

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