aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1997-12-21 01:47:48 +0000
committerRichard M. Stallman <[email protected]>1997-12-21 01:47:48 +0000
commit747a0e2f2e715deb844b3b7a0128c30721cce047 (patch)
treeb43d13a70b34bd328b270a8b024d47e571135dc0 /lisp
parent4cca6fbd3aa15dbda8bc9c5e77aceba50b9cb598 (diff)
(completion-setup-hook): Add definition.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index e0eb58cc08..43b3c683c5 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.