]> git.eshelyaron.com Git - emacs.git/commitdiff
Add a debug declaration to widget-specify-insert
authorTobias Zawada <i_inbox@tn-home.de>
Sat, 14 Sep 2019 12:20:03 +0000 (14:20 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Sep 2019 12:20:03 +0000 (14:20 +0200)
* lisp/wid-edit.el (widget-specify-insert): Add a debug
declaration (bug#37368).

Copyright-paperwork-exempt: yes

lisp/wid-edit.el

index 9bc7a076eeccf11489721ddd85ded88e950a2aba..7ed7b81280bfd04e67475284a2a288edfd6c5641 100644 (file)
@@ -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))