From 747a0e2f2e715deb844b3b7a0128c30721cce047 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 21 Dec 1997 01:47:48 +0000 Subject: [PATCH] (completion-setup-hook): Add definition. --- lisp/simple.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lisp/simple.el b/lisp/simple.el index e0eb58cc08c..43b3c683c58 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3533,6 +3533,12 @@ each time it has found what it thinks is one completion. Point is at the end of the completion in the completion list buffer. If this function moves point, it can alter the end of that completion.") +(defvar completion-setup-hook nil + "Normal hook run at the end of setting up a completion list buffer. +When this hook is run, the current buffer is the one in which the +command to display the completion list buffer was run. +The completion list buffer is available as the value of `standard-output'.") + ;; This function goes in completion-setup-hook, so that it is called ;; after the text of the completion list buffer is written. -- 2.39.2