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

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

[elpa] externals/corfu-doc 13574ae5d1 82/95: Make corfu-doc-display-with


From: ELPA Syncer
Subject: [elpa] externals/corfu-doc 13574ae5d1 82/95: Make corfu-doc-display-within-parent-frame default to t
Date: Tue, 19 Jul 2022 15:58:07 -0400 (EDT)

branch: externals/corfu-doc
commit 13574ae5d17de692f335136f3e3a3ee63463f180
Author: Yuwei Tian <ibluefocus@outlook.com>
Commit: Yuwei Tian <ibluefocus@outlook.com>

    Make corfu-doc-display-within-parent-frame default to t
---
 README.org   | 8 ++++----
 corfu-doc.el | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.org b/README.org
index 9e673e6d6c..a2271697a1 100644
--- a/README.org
+++ b/README.org
@@ -50,11 +50,11 @@ Bind a key to quickly toggle the documentation popup on or 
off.
 (define-key corfu-map (kbd "M-d") #'corfu-doc-toggle)
 #+end_src
 
-** Display the doc frame within the parent frame
+** Display the doc frame beyond the parent frame
 
-You could choose to display the doc frame within the parent frame by setting
-=corfu-doc-display-within-parent-frame= to non-nil. Otherwise, the position of
-the doc frame is calculated base on the size of the display monitor.
+The doc frame is displayed within the parent frame by default.
+However, the position of the doc frame can be calculated base on the size of
+the display monitor if =corfu-doc-display-within-parent-frame= is set to =nil=.
 
 #+begin_quote
 Most window-systems clip a child frame at the native edges (see 
[[https://www.gnu.org/software/emacs/manual/html_node/elisp/Frame-Geometry.html][Frame
 Geometry]])
diff --git a/corfu-doc.el b/corfu-doc.el
index 9728f326b5..64910ddf00 100644
--- a/corfu-doc.el
+++ b/corfu-doc.el
@@ -80,7 +80,7 @@ If this is nil, do not resize corfu doc frame automatically."
   :type 'boolean
   :safe #'booleanp)
 
-(defcustom corfu-doc-display-within-parent-frame nil
+(defcustom corfu-doc-display-within-parent-frame t
   "Display the doc popup within the parent frame.
 
 If this is nil, it means that the parent frame do not clip child



reply via email to

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