1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00

Rename eglot-update to eglot-upgrade

* doc/misc/eglot.texi (Getting the latest version):
Update the reference.

* lisp/progmodes/eglot.el (eglot-upgrade): Rename from
'eglot-update', as discussed on emacs-devel, in line with
'package-upgrade'.
This commit is contained in:
Dmitry Gutov 2023-05-04 01:39:15 +03:00
parent eaf25b9c6a
commit eaad302bd6
2 changed files with 2 additions and 2 deletions

View File

@ -1307,7 +1307,7 @@ Eglot, use @kbd{M-x package-install}.
Often, a newer Eglot version exists that has fixed a longstanding bug,
has more LSP features, or just better supports a particular language
server. Recent Eglot versions can self-update via the command
@kbd{M-x eglot-update}. This will replace any currently installed
@kbd{M-x eglot-upgrade}. This will replace any currently installed
version with the newest one available from the ELPA archives
configured in @code{package-archives}.

View File

@ -1967,7 +1967,7 @@ If it is activated, also signal textDocument/didOpen."
(interactive) (info "(eglot)"))
;;;###autoload
(defun eglot-update (&rest _) "Update Eglot."
(defun eglot-upgrade (&rest _) "Update Eglot."
(interactive)
(with-no-warnings
(require 'package)