summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.org4
-rw-r--r--corfu.el3
2 files changed, 2 insertions, 5 deletions
diff --git a/CHANGELOG.org b/CHANGELOG.org
index 966310c..ebf74b9 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 d3c0267..2c31ff6 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)