From 576b0a68bf1c970ed51a15b87e88b538ca1391d5 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sat, 11 Feb 2023 13:59:43 +0200 Subject: [PATCH] * (sweeprolog-insert-term-dwim): add undo-inhibit-region property --- sweeprolog.el | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2