[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 7739f8e39a 3/8: corfu-popupinfo: Indentation
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu 7739f8e39a 3/8: corfu-popupinfo: Indentation |
Date: |
Sat, 19 Nov 2022 22:57:32 -0500 (EST) |
branch: externals/corfu
commit 7739f8e39a642d28e07373cde796b684ae7333f6
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
corfu-popupinfo: Indentation
---
extensions/corfu-popupinfo.el | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/extensions/corfu-popupinfo.el b/extensions/corfu-popupinfo.el
index 209973a203..376177a696 100644
--- a/extensions/corfu-popupinfo.el
+++ b/extensions/corfu-popupinfo.el
@@ -199,15 +199,15 @@ all values are in pixels relative to the origin. See
(alist-get 'right-margin-width
corfu--buffer-parameters))))
(max-height (* (default-line-height) corfu-popupinfo-max-height))
(max-width (+ margin (* cw corfu-popupinfo-max-width))))
- (if corfu-popupinfo-resize
- (with-current-buffer " *corfu-popupinfo*"
- (cl-letf* (((window-dedicated-p) nil)
- ((window-buffer) (current-buffer))
- (size (window-text-pixel-size
- nil (point-min) (point-max)
- max-width max-height)))
- (cons (min (+ margin (car size)) max-width)
- (min (cdr size) max-height))))
+ (if corfu-popupinfo-resize
+ (with-current-buffer " *corfu-popupinfo*"
+ (cl-letf* (((window-dedicated-p) nil)
+ ((window-buffer) (current-buffer))
+ (size (window-text-pixel-size
+ nil (point-min) (point-max)
+ max-width max-height)))
+ (cons (min (+ margin (car size)) max-width)
+ (min (cdr size) max-height))))
(cons max-width max-height))))
(defun corfu-popupinfo--frame-geometry (frame)
- [elpa] externals/corfu updated (971de05df4 -> ec6d21a939), ELPA Syncer, 2022/11/19
- [elpa] externals/corfu ec6d21a939 8/8: corfu-popupinfo: Delay mode hooks for file preview, ELPA Syncer, 2022/11/19
- [elpa] externals/corfu 5b34b26c7e 1/8: Update changelog, ELPA Syncer, 2022/11/19
- [elpa] externals/corfu 7739f8e39a 3/8: corfu-popupinfo: Indentation,
ELPA Syncer <=
- [elpa] externals/corfu 01ddb3b13e 6/8: Version 0.31, ELPA Syncer, 2022/11/19
- [elpa] externals/corfu e23a750231 7/8: corfu-popupinfo--get-location: Kill new buffers, ELPA Syncer, 2022/11/19
- [elpa] externals/corfu c735db62c2 4/8: README: Add more screenshots, ELPA Syncer, 2022/11/19
- [elpa] externals/corfu 352d719a1f 5/8: Expand docstrings, ELPA Syncer, 2022/11/19
- [elpa] externals/corfu 633ecfb003 2/8: Update readme, ELPA Syncer, 2022/11/19