From 9b7bef950d68c2518710c480729d6bb6026e9489 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Sat, 24 Feb 2024 11:50:00 -0800 Subject: Fix custom type for nov-unzip-args --- nov.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nov.el b/nov.el index f7c1395..9f297bf 100644 --- a/nov.el +++ b/nov.el @@ -78,7 +78,9 @@ This variable expects a list of strings, except for `directory' and `filename' symbols, which will be replaced accordingly when opening an EPUB file." - :type 'list + :type '(repeat (choice (string :tag "Argument") + (const :tag "Directory" directory) + (const :tag "Filename" filename))) :group 'nov) (defcustom nov-variable-pitch t -- cgit v1.2.3