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

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

[elpa] externals/lentic 8a007a60c5 218/333: Default for init is now a li


From: ELPA Syncer
Subject: [elpa] externals/lentic 8a007a60c5 218/333: Default for init is now a list.
Date: Tue, 27 Feb 2024 13:00:37 -0500 (EST)

branch: externals/lentic
commit 8a007a60c53b548129a73c4e0974f6d5e646cb41
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>

    Default for init is now a list.
---
 lentic.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lentic.el b/lentic.el
index 3cf698825f..37865f912e 100644
--- a/lentic.el
+++ b/lentic.el
@@ -176,7 +176,7 @@
 (require 'm-buffer)
 (require 'm-buffer-at)
 
-(defvar lentic-init 'lentic-default-init
+(defvar lentic-init nil
   "Function that initializes a lentic.
 This should set up `lentic-config' appropriately.")
 
@@ -720,7 +720,9 @@ ERR is the error. HOOK is the hook type."
            (lambda (init)
              ;; instantiate a new conf object (but do not create the buffer)
              (funcall init))
-           (-list lentic-init))))))
+           (if (not lentic-init)
+               '(lentic-default-init)
+             (-list lentic-init)))))))
 
 (defun lentic-init-all-create ()
   "Create all lentics fo the current buffer."



reply via email to

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