[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/fontaine e77ef72248 2/5: Remove asterisk from two when-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/fontaine e77ef72248 2/5: Remove asterisk from two when-let clauses |
Date: |
Wed, 21 Feb 2024 06:58:06 -0500 (EST) |
branch: externals/fontaine
commit e77ef72248266937a3c72b1972ddb4dbb993e932
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Remove asterisk from two when-let clauses
---
fontaine.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/fontaine.el b/fontaine.el
index 273c6f8c1c..5a8b9943ad 100644
--- a/fontaine.el
+++ b/fontaine.el
@@ -413,8 +413,8 @@ combine the other two lists."
(defun fontaine--get-inherit-name (preset)
"Get the `:inherit' value of PRESET."
- (when-let* ((inherit (plist-get (alist-get preset fontaine-presets)
:inherit))
- (fontaine--preset-p inherit))
+ (when-let ((inherit (plist-get (alist-get preset fontaine-presets) :inherit))
+ (fontaine--preset-p inherit))
inherit))
(defun fontaine--get-preset-properties (preset)
@@ -557,8 +557,8 @@ Can be assigned to `kill-emacs-hook'."
(defun fontaine-restore-latest-preset ()
"Restore latest preset set by `fontaine-set-preset'.
The value is stored in `fontaine-latest-state-file'."
- (when-let* ((file fontaine-latest-state-file)
- ((file-exists-p file)))
+ (when-let ((file fontaine-latest-state-file)
+ ((file-exists-p file)))
(setq fontaine-recovered-preset
(unless (zerop
(or (file-attribute-size (file-attributes file))