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

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

bug#71406: 30.0.50; string-edit signals error when user aborts and :abor


From: Nicholas Vollmer
Subject: bug#71406: 30.0.50; string-edit signals error when user aborts and :abort-callback parameter nil
Date: Thu, 06 Jun 2024 12:03:34 -0400


1. emacs -q
2. eval (string-edit "test" "" #'ignore)
3. In the "*edit string*" buffer eval string-edit-abort.

The following error is signaled:

Debugger entered--Lisp error: (void-variable string-edit--abort-callback)
 string-edit-abort()
 funcall-interactively(string-edit-abort)
 command-execute(string-edit-abort)

Seeing as string-edit specifies this parameter as a &key, it should either provide a default (#'ignore?) or error if the caller does not provide an abort function (Though why specify it as a keyword arg if it's mandatory?).






reply via email to

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