From: Eshel Yaron Date: Mon, 23 Jan 2023 18:35:15 +0000 (+0200) Subject: * README.org (Holes): Fix wording and index directives X-Git-Tag: V9.0.4~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=048b49fb42984f99cf9d324007c7febe689a37e7;p=sweep.git * README.org (Holes): Fix wording and index directives --- 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