From: Eshel Yaron Date: Sat, 11 Feb 2023 11:59:43 +0000 (+0200) Subject: * (sweeprolog-insert-term-dwim): add undo-inhibit-region property X-Git-Tag: V9.1.4-sweep-0.16.0~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=576b0a68bf1c970ed51a15b87e88b538ca1391d5;p=sweep.git * (sweeprolog-insert-term-dwim): add undo-inhibit-region property --- diff --git a/sweeprolog.el b/sweeprolog.el index 2639bda..183a677 100644 --- a/sweeprolog.el +++ b/sweeprolog.el @@ -3233,6 +3233,8 @@ See also `sweeprolog-backward-hole'." 'repeat-map 'sweeprolog-forward-hole-repeat-map) +(put 'sweeprolog-insert-term-dwim 'undo-inhibit-region t) + (defun sweeprolog--hole (&optional string) (propertize (or string "_") 'sweeprolog-hole t