emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/mct 0d98ba7 30/70: Include mct-display-buffer-action in


From: ELPA Syncer
Subject: [elpa] externals/mct 0d98ba7 30/70: Include mct-display-buffer-action in the manual
Date: Thu, 11 Nov 2021 03:57:45 -0500 (EST)

branch: externals/mct
commit 0d98ba7f0d731a7e3e09a4354fca3dfcf1e4ee95
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Include mct-display-buffer-action in the manual
---
 README.org | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/README.org b/README.org
index bbfdfef..bba5a65 100644
--- a/README.org
+++ b/README.org
@@ -193,6 +193,12 @@ The display of the =*Completions*= can be toggled at any 
time from inside
 the minibuffer with =C-l= (mnemonic is "[l]ist completions" and the
 command is ~mct-list-completions-toggle~).
 
+#+vindex: mct-display-buffer-action
+By default, the =*Completions*= buffer appears in a window at the bottom
+of the frame.  Users can change its placement by configuring the
+variable ~mct-display-buffer-action~ (its doc string explains how and
+provides sample code).
+
 ** Selecting candidates
 :PROPERTIES:
 :CUSTOM_ID: h:bb445062-2e39-4082-a868-2123bfb793cc
@@ -327,6 +333,16 @@ And with more options:
         Info-menu
         vc-retrieve-tag))
 
+;; You can place the Completions' buffer wherever you want, by following
+;; the syntax of `display-buffer'.  For example, try this:
+
+;; (setq mct-display-buffer-action
+;;       (quote ((display-buffer-reuse-window
+;;                display-buffer-in-side-window)
+;;               (side . left)
+;;               (slot . 99)
+;;               (window-width . 0.3))))
+
 (mct-mode 1)
 #+end_src
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]