From f8eeec3ccd9bcbc4895ab88c3ef2d9c7759b70bf Mon Sep 17 00:00:00 2001 From: TobiasZawada Date: Sat, 7 Sep 2019 00:35:42 +0200 Subject: [PATCH] Add debug declaration to widget-specify-insert important for user-defined editable-list widget with a modified set of buttons. In that use-case function `widget-editable-list-entry-create` needs to be imitated for that purpose. --- lisp/wid-edit.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 9bc7a076eecc..d0af5fa5e6ce 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el @@ -414,6 +414,7 @@ the :notify function can't know the new value.") (defmacro widget-specify-insert (&rest form) "Execute FORM without inheriting any text properties." + (declare (debug body)) `(save-restriction (let ((inhibit-read-only t) (inhibit-modification-hooks t))