[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tempel e1c60d0185 2/3: Check for fundamental-mode
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tempel e1c60d0185 2/3: Check for fundamental-mode |
Date: |
Mon, 10 Jan 2022 08:57:57 -0500 (EST) |
branch: externals/tempel
commit e1c60d01854424a9a65ca8b40dfe4cf32cb1addc
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Check for fundamental-mode
---
tempel.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tempel.el b/tempel.el
index 5365f635c0..19ef7d513f 100644
--- a/tempel.el
+++ b/tempel.el
@@ -366,7 +366,7 @@ PROMPT is the optional prompt/default value."
(setq tempel--templates (tempel--load tempel-file)
tempel--modified mod)))
(cl-loop for x in tempel--templates
- if (derived-mode-p (car x))
+ if (or (derived-mode-p (car x)) (eq (car x) 'fundamental-mode))
append (cdr x)))
(defun tempel--region ()