From 1ab4233b5665f74ff5481e480325bb106982467f Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Fri, 1 Nov 2024 18:01:22 +0100 Subject: [PATCH] README: Mention user-emacs-directory (Fix #155) --- README.org | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.org b/README.org index 948abd5..e02d1be 100644 --- a/README.org +++ b/README.org @@ -109,13 +109,14 @@ contributions. The templates are defined in a Lisp data file configured by ~tempel-path~. Lisp data files are files containing Lisp s-expressions (see ~lisp-data-mode~). By -default the file =~/.config/emacs/templates= is used. The templates are grouped by -major mode with an optional ~:when~ condition. Each template is a list in the -concise form of the Emacs Tempo syntax. The first element of each list is the -name of the template. I recommend to use avoid special letters for the template -names, since special letters may carry meaning during completion filtering and -as such make it harder to select the desired template. Thus the name =lett= is -better than =let*=. Behind the name, the Tempo syntax elements follow. +default the file =templates= in the ~user-emacs-directory~ is used, e.g., +=~/.config/emacs/templates=. The templates are grouped by major mode with +an optional ~:when~ condition. Each template is a list in the concise form of the +Emacs Tempo syntax. The first element of each list is the name of the template. +I recommend to use avoid special letters for the template names, since special +letters may carry meaning during completion filtering and as such make it harder +to select the desired template. Thus the name =lett= is better than =let*=. Behind +the name, the Tempo syntax elements follow. In addition, each template may specify a =:pre= and/or =:post= key with a FORM that is evaluated before the template is expanded or after it is finalized,