Subject: bug#66051: 30.0.50; shell-indirect-setup-hook has wrong :type

From: Mauro Aranda <[email-masked]>
Date: Sun, 17 Sep 2023 10:01:43 -0300

tags 66051 patch
quit

Patch attached.

From aac10ddb2d97562d1f03ef19c2e5b56446678001 Mon Sep 17 00:00:00 2001
From: Mauro Aranda <[email-masked]>
Date: Sun, 17 Sep 2023 10:00:20 -0300
Subject: [PATCH] Fix shell-indirect-setup-hook :type (Bug#66051)

* lisp/shell.el (shell-indirect-setup-hook): It's a hook, not a
boolean.
---
 lisp/shell.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/shell.el b/lisp/shell.el
index 084113c673a..21ffdc63a05 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -327,9 +327,8 @@ shell-indirect-setup-hook
 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
+  :type 'hook
   :group 'shell
-  :safe 'booleanp
   :version "29.1")
 
 (defcustom shell-highlight-undef-enable nil
-- 
2.34.1