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

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

[elpa] externals/corfu efd5e31a7e 2/3: Fix docstring warings (Fix #260)


From: ELPA Syncer
Subject: [elpa] externals/corfu efd5e31a7e 2/3: Fix docstring warings (Fix #260)
Date: Thu, 24 Nov 2022 09:57:28 -0500 (EST)

branch: externals/corfu
commit efd5e31a7ec45ab537626a79809bb9ad4b39703d
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Fix docstring warings (Fix #260)
---
 extensions/corfu-popupinfo.el | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/extensions/corfu-popupinfo.el b/extensions/corfu-popupinfo.el
index 79dda0059d..793f6a8863 100644
--- a/extensions/corfu-popupinfo.el
+++ b/extensions/corfu-popupinfo.el
@@ -257,7 +257,7 @@ in the form of (X Y WIDTH HEIGHT)."
 The WIDTH and HEIGHT of the info popup are in pixels.
 The calculated area is in the form (X Y WIDTH HEIGHT DIR).
 DIR indicates the horizontal position direction of the info popup
-relative to the candidate popup, its value can be 'right or 'left."
+relative to the candidate popup, its value can be right or left."
   (pcase-let* ((border (alist-get 'child-frame-border-width 
corfu--frame-parameters))
                (`(,_pfx ,_pfy ,pfw ,_pfh)
                 (corfu-popupinfo--frame-geometry (frame-parent corfu--frame)))
@@ -281,7 +281,7 @@ relative to the candidate popup, its value can be 'right or 
'left."
 
 The WIDTH and HEIGHT of the info popup are in pixels.
 
-The calculated area is in the form (X Y WIDTH HEIGHT 'vertical)."
+The calculated area is in the form (X Y WIDTH HEIGHT DIR)."
   (pcase-let* ((border (alist-get 'child-frame-border-width 
corfu--frame-parameters))
                (lh (default-line-height))
                (`(,_pfx ,_pfy ,pfw ,pfh)
@@ -306,14 +306,10 @@ The calculated area is in the form (X Y WIDTH HEIGHT 
'vertical)."
   "Calculate the display area for the info popup.
 
 If DIR is non-nil, the display area in the corresponding
-direction is calculated first, its value can be 'vertical, 'right
-or 'left.
-
-The pixel size of the info popup can be specified by WIDTH and HEIGHT.
-
-The calculated area is in the form (X Y WIDTH HEIGHT DIR).
-DIR indicates the position direction of the info popup relative to
-the candidate popup, its value is 'vertical, 'right or 'left."
+direction is calculated first, its value can be vertical, right
+or left. The pixel size of the info popup can be specified by
+WIDTH and HEIGHT. The calculated area is in the form (X Y WIDTH
+HEIGHT DIR)."
   (unless (and width height)
     (let ((size (corfu-popupinfo--size)))
       (setq width (car size)



reply via email to

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