emacs-31 0ec6a3fd44d: Fix failure code in 'run-hook-query-error-with-timeout'

Eli Zaretskii <[email protected]>
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: emacs-31
commit 0ec6a3fd44dd774136545912b3b00dc062e95dc6
Author: Eli Zaretskii <[email protected]>
Commit: Eli Zaretskii <[email protected]>

    Fix failure code in 'run-hook-query-error-with-timeout'
    
    * lisp/subr.el (run-hook-query-error-with-timeout): Fix incorrect
    call to 'error'.  (Bug#81292)
---
 lisp/subr.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/subr.el b/lisp/subr.el
index 58f388c146d..a9924445ada 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -7799,7 +7799,7 @@ seconds."
         (unless (y-or-n-p-with-timeout (format "Error %s; continue?"
                                                (error-message-string err))
                                        5 t)
-          (error err))))
+          (signal err))))
      ;; Continue running.
      nil)))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.