[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/elpa 2b61a3b 048/139: Delete two useless forward declar
From: |
João Távora |
Subject: |
[elpa] externals/elpa 2b61a3b 048/139: Delete two useless forward declarations |
Date: |
Mon, 14 May 2018 09:53:32 -0400 (EDT) |
branch: externals/elpa
commit 2b61a3bf70d340c1f865cde91cc1228cdb13af1f
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Delete two useless forward declarations
* eglot.el (eglot-mode, eglot-editing-mode-map): Remove forward decls.
---
eglot.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/eglot.el b/eglot.el
index bb0427a..f25c7bd 100644
--- a/eglot.el
+++ b/eglot.el
@@ -46,9 +46,6 @@
(defvar eglot--processes-by-project (make-hash-table :test #'equal)
"Keys are projects. Values are lists of processes.")
-(defvar eglot-editing-mode) ; forward decl
-(defvar eglot-mode) ; forward decl
-
(defvar-local eglot--special-buffer-process nil
"Current buffer's eglot process.")
@@ -643,7 +640,8 @@ running. INTERACTIVE is t if called interactively."
(forward-char
(min (plist-get pos-plist :character)
(- (line-end-position)
- (line-beginning-position)))))))
+ (line-beginning-position))))
+ (point))))
(cl-loop for diag-spec across diagnostics
collect (cl-destructuring-bind (&key range severity
_code _source message)
- [elpa] externals/elpa 3403f86 027/139: Correctly report what we currently are capable of, (continued)
- [elpa] externals/elpa 3403f86 027/139: Correctly report what we currently are capable of, João Távora, 2018/05/14
- [elpa] externals/elpa 92bf3a0 038/139: Signal textDocument/didClose, João Távora, 2018/05/14
- [elpa] externals/elpa 7ec0dcf 029/139: Events buffer uses eglot-mode, source buffers use eglot-editing-mode, João Távora, 2018/05/14
- [elpa] externals/elpa 17e0ca4 047/139: Fix Flymake diagnostic positions, João Távora, 2018/05/14
- [elpa] externals/elpa 0e95167 042/139: Watch for files opened under umbrella of existing process, João Távora, 2018/05/14
- [elpa] externals/elpa 9665a3e 051/139: Fix textDocument/didChange, João Távora, 2018/05/14
- [elpa] externals/elpa 1514e0f 052/139: Fix a couple of Rust-related edge cases, João Távora, 2018/05/14
- [elpa] externals/elpa d90efdf 001/139: Initial commit, João Távora, 2018/05/14
- [elpa] externals/elpa 29d4103 056/139: Fix mode-line mouse-clicks from outside selected window, João Távora, 2018/05/14
- [elpa] externals/elpa ea918ab 066/139: Include source info in diagnostics, João Távora, 2018/05/14
- [elpa] externals/elpa 2b61a3b 048/139: Delete two useless forward declarations,
João Távora <=
- [elpa] externals/elpa 7d0bf64 062/139: Workaround RLS's regusal to treat nil as empty json object, João Távora, 2018/05/14
- [elpa] externals/elpa e7ffc31 067/139: Make reported capabilities into its own function, João Távora, 2018/05/14
- [elpa] externals/elpa c2862f4 063/139: Don't auto-reconnect if last attempt lasted less than 3 seconds, João Távora, 2018/05/14
- [elpa] externals/elpa e86f9b4 073/139: New helper eglot--sync-request, João Távora, 2018/05/14
- [elpa] externals/elpa 95187cf 058/139: Connect to LSP server via TCP, João Távora, 2018/05/14
- [elpa] externals/elpa f8bfb7e 064/139: Handle requests from server correctly, João Távora, 2018/05/14
- [elpa] externals/elpa 8160cd4 071/139: Handle dynamic registration in general (but nothing specific yet), João Távora, 2018/05/14
- [elpa] externals/elpa 9ff97a6 079/139: Increase request timeout length to 10 seconds, João Távora, 2018/05/14
- [elpa] externals/elpa 193c57d 075/139: Half-decent xref support, João Távora, 2018/05/14
- [elpa] externals/elpa d254f97 082/139: Solve another textDocument/didChange bug, João Távora, 2018/05/14