From: Dmitry Gutov Date: Wed, 3 May 2023 22:39:15 +0000 (+0300) Subject: Rename eglot-update to eglot-upgrade X-Git-Tag: emacs-29.0.91~56 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eaad302bd6f1d30bed1fbdd02e5091d13ce0c7ba;p=emacs.git 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'. --- diff --git a/doc/misc/eglot.texi b/doc/misc/eglot.texi index 542a4259d66..8ac14372e36 100644 --- a/doc/misc/eglot.texi +++ b/doc/misc/eglot.texi @@ -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}. diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index f005c4858e7..6d1d010eb9a 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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)