From: Richard M. Stallman Date: Sun, 21 Dec 1997 01:47:48 +0000 (+0000) Subject: (completion-setup-hook): Add definition. X-Git-Tag: emacs-20.3~2592 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=747a0e2f2e715deb844b3b7a0128c30721cce047;p=emacs.git (completion-setup-hook): Add definition. --- 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.