branch: externals/corfu commit 6e2d43b3b3772c37461176f3620749418db91f0c Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
Shorter variable name --- extensions/corfu-docframe.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extensions/corfu-docframe.el b/extensions/corfu-docframe.el index 7fdf19e082..df6b9a0538 100644 --- a/extensions/corfu-docframe.el +++ b/extensions/corfu-docframe.el @@ -96,7 +96,7 @@ If this is nil, do not resize corfu doc popup automatically." (defvar-local corfu-docframe--candidate nil "Completion candidate for the doc popup.") -(defvar-local corfu-docframe--popup-edges nil +(defvar-local corfu-docframe--edges nil "Coordinates of the corfu popup's edges. The coordinates list has the form (LEFT TOP RIGHT BOTTOM) where all @@ -111,7 +111,7 @@ See `frame-edges' for details.") (defconst corfu-docframe--state-vars '(corfu-docframe--candidate - corfu-docframe--popup-edges + corfu-docframe--edges corfu-docframe--direction) "Buffer-local state variables used by corfu-docframe.") @@ -337,7 +337,7 @@ it should be compared with the value recorded by `corfu--index'." ;; check if the coordinates of the corfu popup have changed (cfp-edges-changed-p (not (equal (frame-edges corfu--frame 'inner-edges) - corfu-docframe--popup-edges)))) + corfu-docframe--edges)))) (if (not should-update-doc-p) (when (and (not (string-empty-p (string-trim @@ -380,10 +380,10 @@ it should be compared with the value recorded by `corfu--index'." corfu-docframe--direction area-d))) (if doc-updated-p (setq corfu-docframe--candidate candidate - corfu-docframe--popup-edges + corfu-docframe--edges (frame-edges corfu--frame 'inner-edges)) (when cfp-edges-changed-p - (setq corfu-docframe--popup-edges + (setq corfu-docframe--edges (frame-edges corfu--frame 'inner-edges)))))))) (defun corfu-docframe--hide ()