emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 57490fff6ec 2/2: ; Backport: Eglot: fix misplaced parenthesis i


From: Michael Albinus
Subject: emacs-29 57490fff6ec 2/2: ; Backport: Eglot: fix misplaced parenthesis in last commit to eglot-tests.el
Date: Sun, 9 Apr 2023 09:44:48 -0400 (EDT)

branch: emacs-29
commit 57490fff6ecf3cc1de7d8d833d1b6c895330b762
Author: João Távora <joaotavora@gmail.com>
Commit: Michael Albinus <michael.albinus@gmx.de>

    ; Backport: Eglot: fix misplaced parenthesis in last commit to 
eglot-tests.el
    
    * test/lisp/progmodes/eglot-tests.el
    (eglot-test-eldoc-after-completions): Fix misplaced parenthesis.
    
    (cherry picked from commit 3aedd5c920560fe6456a860a900be40a35e850d2)
---
 test/lisp/progmodes/eglot-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/lisp/progmodes/eglot-tests.el 
b/test/lisp/progmodes/eglot-tests.el
index 7489ad53645..984c1bf9916 100644
--- a/test/lisp/progmodes/eglot-tests.el
+++ b/test/lisp/progmodes/eglot-tests.el
@@ -647,7 +647,7 @@ int main() {
       (completion-at-point)
       (message (buffer-string))
       (should (looking-back "fprintf(?"))
-      (unless (= (char-before) ?\()) (insert "()") (backward-char)
+      (unless (= (char-before) ?\() (insert "()") (backward-char))
       (eglot--signal-textDocument/didChange)
       (should (string-match "^fprintf" (eglot--tests-force-full-eldoc))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]