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, Often, a newer Eglot version exists that has fixed a longstanding bug,
has more LSP features, or just better supports a particular language has more LSP features, or just better supports a particular language
server. Recent Eglot versions can self-update via the command 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 version with the newest one available from the ELPA archives
configured in @code{package-archives}. configured in @code{package-archives}.

View file

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