[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/elpa 209b227 61/71: Fix #524: provide suitable default
From: |
João Távora |
Subject: |
[elpa] externals/elpa 209b227 61/71: Fix #524: provide suitable default to M-x eglot-rename |
Date: |
Wed, 16 Dec 2020 11:42:26 -0500 (EST) |
branch: externals/elpa
commit 209b227c4ef9f4ececbcc87c64b8d4b760c52994
Author: Paul M. Rodriguez <paulmrodriguez@gmail.com>
Commit: GitHub <noreply@github.com>
Fix #524: provide suitable default to M-x eglot-rename
Copyright-paperwork-exempt: Yes
* eglot (eglot-rename): Provide a default value.
---
eglot.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/eglot.el b/eglot.el
index a4ba1f9..64543d7 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2477,7 +2477,9 @@ is not active."
(defun eglot-rename (newname)
"Rename the current symbol to NEWNAME."
(interactive
- (list (read-from-minibuffer (format "Rename `%s' to: " (symbol-at-point)))))
+ (list (read-from-minibuffer (format "Rename `%s' to: " (symbol-at-point))
+ nil nil nil nil
+ (symbol-name (symbol-at-point)))))
(unless (eglot--server-capable :renameProvider)
(eglot--error "Server can't rename!"))
(eglot--apply-workspace-edit
- [elpa] externals/elpa b34447c 45/71: Close #473: simplify eglot-code-actions, (continued)
- [elpa] externals/elpa b34447c 45/71: Close #473: simplify eglot-code-actions, João Távora, 2020/12/16
- [elpa] externals/elpa a044dec 47/71: Delegate "hover" and "signature" doc synchronization efforts to Eldoc, João Távora, 2020/12/16
- [elpa] externals/elpa a04b826 48/71: Update tests after update to newer Eldoc, João Távora, 2020/12/16
- [elpa] externals/elpa 2b7ec0e 51/71: Expect eglot-multiline-eldoc to fail on Travis, João Távora, 2020/12/16
- [elpa] externals/elpa 6d96601 52/71: Closes #509: fix sorting of completion items, João Távora, 2020/12/16
- [elpa] externals/elpa 4e82f53 53/71: Reload Eldoc if needed on Emacs < 28, João Távora, 2020/12/16
- [elpa] externals/elpa 8c9219d 55/71: Unbreak tests after changes to eldoc.el, João Távora, 2020/12/16
- [elpa] externals/elpa ea82b4b 57/71: Close #505: ensure completion terminates in correct buffer, João Távora, 2020/12/16
- [elpa] externals/elpa fb6b17e 58/71: New 'make interactive' target for debuggable M-x ert, João Távora, 2020/12/16
- [elpa] externals/elpa 5f873d2 60/71: Fix #521: Correct paren mismatch blunder introduced by earlier commit, João Távora, 2020/12/16
- [elpa] externals/elpa 209b227 61/71: Fix #524: provide suitable default to M-x eglot-rename,
João Távora <=
- [elpa] externals/elpa 61b71ea 62/71: Fix #528: unbreak Haskell's hie-wrapper built-in incantation, João Távora, 2020/12/16
- [elpa] externals/elpa af0e876 68/71: Close #572: use haskell-language-server in eglot-server-programs, João Távora, 2020/12/16
- [elpa] externals/elpa 476c586 69/71: Cosmetic whitespace fix (indentation, long lines, tabs->spaces), João Távora, 2020/12/16
- [elpa] externals/elpa 265b486 70/71: Fix #569: allow Eglot to stay out of Xref configuration, João Távora, 2020/12/16
- [elpa] externals/elpa 4edd478 71/71: Bump Eglot version to 1.7, João Távora, 2020/12/16