branch: externals/corfu
commit 4be939efc6e40b3c028167343b930faf6017a555
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
Update changelog
---
CHANGELOG.org | 4 +---
corfu.el | 3 +--
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/CHANGELOG.org b/CHANGELOG.org
index 966310cd89..ebf74b987c 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -10,9 +10,7 @@
- ~corfu-popupinfo~: Fix Emacs 30 deprecation warning.
- Fix Corfu popup position at the right edge of the parent frame.
- Work around Emacs bug#79792, where the ~*Help*~ buffer is replaced
unexpectedly.
-- Experimental: Use new function =set-frame-size-and-position-pixelwise= if
- available. The patch can be downloaded from here:
- https://lists.gnu.org/archive/html/emacs-devel/2025-12/msg00414.html
+- Use new function =set-frame-size-and-position-pixelwise= on Emacs 31.
* Version 2.6 (2025-12-07)
diff --git a/corfu.el b/corfu.el
index d3c02677e2..2c31ff6c3c 100644
--- a/corfu.el
+++ b/corfu.el
@@ -543,8 +543,7 @@ FRAME is the existing frame."
(pcase-let ((`(,px . ,py) (frame-position frame)))
(cond
((and (= x px) (= y py)) (set-frame-size frame width height t))
- ;; NOTE: Experimental new Emacs 31 addition by Martin Rudalics.
- ;; https://lists.gnu.org/archive/html/emacs-devel/2025-12/msg00414.html
+ ;; New Emacs 31 function for faster resizing/movement in one go.
((fboundp 'set-frame-size-and-position-pixelwise)
(set-frame-size-and-position-pixelwise frame width height x y))
(t (set-frame-size frame width height t)