diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index eeea104e04..427fa293b6 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -1555,7 +1555,7 @@ If SKIP-SIGNATURE, don't try to send textDocument/signatureHelp." (progress-reporter-update reporter (cl-incf done))))))) (mapcar (jsonrpc-lambda (&key range newText) (cons newText (eglot--range-region range 'markers))) - edits)) + (reverse edits))) (undo-amalgamate-change-group change-group) (progress-reporter-done reporter))))