1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

; Eglot: remove/address a FIXME added by Stefan Monnier

According to the commit msg of:

   commit 0816da8e78
   Author: João Távora <joaotavora@gmail.com>
   Date:   Mon Oct 21 16:07:38 2019 +0100

This is needed because M-x vc-revert preserves (or used to
preserve) major modes on revert.

* lisp/progmodes/eglot.el (eglot--after-revert-hook): Remove FIXME
comment.
This commit is contained in:
João Távora 2025-11-20 13:24:58 +00:00
parent 6346f5b053
commit 80a84130a4

View file

@ -2342,7 +2342,6 @@ LSP Document version reported for DIAGNOSTICS (comparable to
(defvar revert-buffer-preserve-modes)
(defun eglot--after-revert-hook ()
"Eglot's `after-revert-hook'."
;; FIXME: Do we really need this?
(when revert-buffer-preserve-modes (eglot--signal-textDocument/didOpen)))
(defun eglot--maybe-activate-editing-mode ()