all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#71406: 30.0.50; string-edit signals error when user aborts and :abort-callback parameter nil
@ 2024-06-06 16:03 Nicholas Vollmer
  2024-06-08 13:09 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Nicholas Vollmer @ 2024-06-06 16:03 UTC (permalink / raw)
  To: 71406


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?).






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-15 10:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06 16:03 bug#71406: 30.0.50; string-edit signals error when user aborts and :abort-callback parameter nil Nicholas Vollmer
2024-06-08 13:09 ` Eli Zaretskii
2024-06-10 20:50   ` Nicholas Vollmer
2024-06-15 10:42     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.