Subject: bug#65821: 30.0.50; ielm-indirect-setup-hook boolean type instead of hook type

From: Mauro Aranda <[email-masked]>
Date: Fri, 8 Sep 2023 12:47:08 -0300

On 8/9/23 08:36, Stefan Kangas wrote:
 > Mauro Aranda <[email-masked]> writes:
 >
 >> The option ielm-indirect-setup-hook is supposed to be a hook.  However,
 >> its type says it's a boolean.
 >
 > Thanks.  Would you like to send a patch?

Sure.  I also removed the :safe property, since it seems to me that it
was just a copy-paste from the other defcustom introduced in the same
commit.
From 4b5b1c3b0b765f6e43ba96427aff03fff74acc64 Mon Sep 17 00:00:00 2001
From: Mauro Aranda <[email-masked]>
Date: Fri, 8 Sep 2023 12:44:42 -0300
Subject: [PATCH] ; Fix defcustom type in ielm.el

* lisp/ielm.el (ielm-indirect-setup-hook): Fix :type and remove :safe
property, since it was probably a copy-pasta.  (Bug#65821)
---
 lisp/ielm.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/ielm.el b/lisp/ielm.el
index f7d025b8c01..e51c46054b4 100644
--- a/lisp/ielm.el
+++ b/lisp/ielm.el
@@ -491,8 +491,7 @@ ielm-indirect-setup-hook
 indirect buffer as the current buffer after its setup is done.
 This can be used to further customize fontification and other
 behavior of the indirect buffer."
-  :type 'boolean
-  :safe 'booleanp
+  :type 'hook
   :version "29.1")
 
 (defun ielm-indirect-setup-hook ()
-- 
2.34.1