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

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

[elpa] externals/tempel 460f8fe806 81/82: Fix the MELPA issues


From: ELPA Syncer
Subject: [elpa] externals/tempel 460f8fe806 81/82: Fix the MELPA issues
Date: Sun, 9 Jan 2022 20:58:47 -0500 (EST)

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

    Fix the MELPA issues
    
    Thanks, @riscy! See https://github.com/melpa/melpa/pull/7850.
---
 tempel.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tempel.el b/tempel.el
index 3aca899994..ce74bea917 100644
--- a/tempel.el
+++ b/tempel.el
@@ -1,4 +1,4 @@
-;;; tempel.el --- Simple templates for Emacs -*- lexical-binding: t -*-
+;;; tempel.el --- Tempo text templates with in-buffer field editing -*- 
lexical-binding: t -*-
 
 ;; Author: Daniel Mendler
 ;; Created: 2022
@@ -43,7 +43,7 @@
   (require 'cl-lib))
 
 (defgroup tempel nil
-  "Simple templates"
+  "Tempo text templates with in-buffer field editing."
   :group 'editing
   :prefix "tempel-")
 
@@ -189,10 +189,10 @@ BEG and END are the boundaries of the modification."
               (buffer-substring-no-properties
                (overlay-start ov) (overlay-end ov))))
       (unless undo-in-progress
-        (template--synchronize-fields st ov)))))
+        (tempel--synchronize-fields st ov)))))
   (tempel--update-mark ov))
 
-(defun template--synchronize-fields (st current)
+(defun tempel--synchronize-fields (st current)
   "Synchronize fields of ST, except CURRENT overlay."
   (dolist (ov (car st))
     (unless (eq ov current)
@@ -254,7 +254,7 @@ INIT is the optional initial input."
       (overlay-put ov 'face 'tempel-default)
       (overlay-put ov 'tempel--default
                    (if (string-match-p ": \\'" init) 'end 'start)))
-    (template--synchronize-fields st ov)))
+    (tempel--synchronize-fields st ov)))
 
 (defun tempel--form (st form)
   "Add new template field evaluating FORM to ST."



reply via email to

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