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

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

[elpa] externals/tempel 01e7430343 27/82: Add docstrings


From: ELPA Syncer
Subject: [elpa] externals/tempel 01e7430343 27/82: Add docstrings
Date: Sun, 9 Jan 2022 20:58:42 -0500 (EST)

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

    Add docstrings
---
 tempel.el | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/tempel.el b/tempel.el
index 56a275a83e..3d091762dc 100644
--- a/tempel.el
+++ b/tempel.el
@@ -63,10 +63,19 @@
 (defface tempel-form '((t :inherit region))
   "Face used for evaluated forms.")
 
-(defvar tempel--templates nil)
-(defvar tempel--modified nil)
-(defvar tempel--history nil)
-(defvar-local tempel--active nil)
+(defvar tempel--templates nil
+  "Templates loaded from the `tempel-file'.")
+
+(defvar tempel--modified nil
+  "Modification time of `tempel-file' at the last load.")
+
+(defvar tempel--history nil
+  "Completion history used by `tempel-insert'.")
+
+(defvar-local tempel--active nil
+  "List of active templates.
+Each template state is a pair, where the car is a list of overlays and
+the cdr is an alist of variable bindings.")
 
 (defvar tempel-map
   (let ((map (make-sparse-keymap)))



reply via email to

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