From 3ea1010a6b0a63e90896133deaba189f13d47436 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 4 Feb 2026 11:14:10 -0500 Subject: [PATCH] * lisp/comint.el (comint-redirect-hook): Defvar (bug#80313) --- lisp/comint.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/comint.el b/lisp/comint.el index f4d484f037d..8d2692e50e6 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -3715,6 +3715,9 @@ last function is the text that is actually inserted in the redirection buffer. You can use `add-hook' to add functions to this list either globally or locally.") +(defvar comint-redirect-hook nil + "Normal hook run after completing a comint-redirect.") + ;; Internal variables (defvar comint-redirect-output-buffer nil