emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/tempel b7aeb18eb6 2/2: Expand readme


From: ELPA Syncer
Subject: [elpa] externals/tempel b7aeb18eb6 2/2: Expand readme
Date: Mon, 20 Feb 2023 12:58:33 -0500 (EST)

branch: externals/tempel
commit b7aeb18eb698cb46206d4d8410f7d8ec9b40c0c4
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Expand readme
---
 README.org | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/README.org b/README.org
index 5101d3f957..289a95bb57 100644
--- a/README.org
+++ b/README.org
@@ -30,11 +30,16 @@ Tempel comes with three commands for template expansion:
 
 + ~tempel-complete~ completes a template name at point in the buffer and
   subsequently expands the template. If called non-interactively the function
-  behaves like a Capf and can be added to ~completion-at-point-functions~.
-+ ~tempel-expand~ expands an exactly matching template name at point in the 
buffer.
-  If called non-interactively the function behaves like a Capf and can be added
-  to ~completion-at-point-functions~.
-+ ~tempel-insert~ selects a template by name and insert it into the current 
buffer.
+  behaves like a Capf and can be added to ~completion-at-point-functions~. The
+  Capf returns a list of templates names which are presented by the completion
+  UI for selection.
++ ~tempel-expand~ expands an exactly matching template name at point in the
+  buffer. If called non-interactively the function behaves like a Capf and can
+  be added to ~completion-at-point-functions~. This Capf returns only the 
single
+  exactly matching template name, such that no selection in the completion UI 
is
+  possible.
++ ~tempel-insert~ selects a template by name via ~completing-read~ and insert 
it
+  into the current buffer.
 
 For the commands ~tempel-complete~ and ~tempel-expand~, you may want to give my
 [[https://github.com/minad/corfu][Corfu]] completion at point popup UI a try. 
After inserting the template you can



reply via email to

[Prev in Thread] Current Thread [Next in Thread]