[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/lentic 4e42c930d7 210/333: Default mode is now the same
From: |
ELPA Syncer |
Subject: |
[elpa] externals/lentic 4e42c930d7 210/333: Default mode is now the same as the main buffer. |
Date: |
Tue, 27 Feb 2024 13:00:36 -0500 (EST) |
branch: externals/lentic
commit 4e42c930d7153bcdff8154a4c527f00f86969af1
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>
Default mode is now the same as the main buffer.
This makes more sense anyway.
---
lentic.el | 6 ++++--
test/lentic-test.el | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/lentic.el b/lentic.el
index cf1d49315d..026b39fac2 100644
--- a/lentic.el
+++ b/lentic.el
@@ -306,7 +306,7 @@ for lots of things at once. Returns OBJ."
:initform nil
:initarg :lentic-file)
(lentic-mode
- :initform 'normal-mode
+ :initform nil
:initarg :lentic-mode))
"Configuration which maintains two lentics with the same contents.")
@@ -332,7 +332,9 @@ created."
(format "*lentic: %s*"
(buffer-name
this-buffer))))
- (sec-mode (oref conf :lentic-mode))
+ (sec-mode
+ (or (oref conf :lentic-mode)
+ major-mode))
(sec-file (oref conf :lentic-file)))
(oset conf :creator t)
;; make sure this-buffer knows about that-buffer
diff --git a/test/lentic-test.el b/test/lentic-test.el
index c95a0f6274..31aaeb0337 100644
--- a/test/lentic-test.el
+++ b/test/lentic-test.el
@@ -83,7 +83,7 @@
(ert-deftest lentic-conf ()
(should
- (equal 'normal-mode
+ (equal nil
(oref
(lentic-default-configuration "bob")
:lentic-mode))))
- [elpa] externals/lentic 23a39ef037 190/333: Debug statements removed from hooks., (continued)
- [elpa] externals/lentic 23a39ef037 190/333: Debug statements removed from hooks., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 31187db217 199/333: lentic-mode now works, and has a lighter., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 9de0fae6f8 178/333: Autoloads automatically required by package., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 819ac479c4 188/333: Removed erroneous () in header., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic b4c95e69df 196/333: Cosmetic Change., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic a1799b72f7 197/333: Rot-13 added., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic f90bda3f74 204/333: Prepare for next iteration., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 5f8b9dbe0a 205/333: literate-haskell example., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic cafbf52329 206/333: Auto save files excluded!, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 593cd7a7b5 203/333: v0.7 release., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 4e42c930d7 210/333: Default mode is now the same as the main buffer.,
ELPA Syncer <=
- [elpa] externals/lentic 94d7489962 208/333: lentic-doc now requires f.el, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic aabb1c4593 212/333: Merge branch 'feature/multiple-lentic-buffers', ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 26b2d4c8b5 215/333: Adds commands for creating new views., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic b6bbcc4e99 220/333: Force install on every test., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 2adfcc5493 225/333: Attempt to keep point static., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic ee88df4543 229/333: Add fall back if there is no visible lentic., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 4162e4e298 231/333: Delete lenticular.html on clean., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic f797675a52 228/333: Further attempts to make test stateless., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 97e1440857 230/333: Mode line update performance speed up., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 19c58b8bf7 238/333: Completion for all lentic packages., ELPA Syncer, 2024/02/27