From 048b49fb42984f99cf9d324007c7febe689a37e7 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Mon, 23 Jan 2023 20:35:15 +0200 Subject: [PATCH] * README.org (Holes): Fix wording and index directives --- README.org | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.org b/README.org index 6fe2fe6..e2b394f 100644 --- a/README.org +++ b/README.org @@ -1008,16 +1008,15 @@ can be automated by adding ~sweeprolog-forward-hole-on-tab-mode~ to (add-hook 'sweeprolog-mode-hook #'sweeprolog-forward-hole-on-tab-mode) #+end_src -#+CINDEX filling holes -#+CINDEX holes, filling +#+CINDEX: filling holes +#+CINDEX: holes, filling To "fill" a hole marked by one of the aforementioned commands, either use ~C-c C-m~ as described above or type ~C-w~ (~M-x kill-region~) to kill the region and remove the placeholder variable, and then insert Prolog code as usual. Yanking a hole with ~C-y~ (~yank~) after you kill it removes the special hole property and inserts it as a plain variable. -This is particularly useful if you want to keep the variable name that -Sweep chose for the hole--to do that simply press ~C-w C-y~ with the -hole marked. +This is can be useful if you want to keep the variable name that Sweep +chose for the hole--simply press ~C-w C-y~ with the hole marked. As an alternative to manually killing the region with ~C-w~, with ~delete-selection-mode~ enabled the placeholder is automatically deleted -- 2.39.2