changeset 20482:1fe822fa93e6

(completion-setup-hook): Add definition.
author Richard M. Stallman <rms@gnu.org>
date Sun, 21 Dec 1997 01:47:48 +0000
parents 77ed0446c90a
children 141c2d41d39c
files lisp/simple.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Sun Dec 21 01:46:29 1997 +0000
+++ b/lisp/simple.el	Sun Dec 21 01:47:48 1997 +0000
@@ -3533,6 +3533,12 @@
 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.