aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2023-05-04 01:39:15 +0300
committerDmitry Gutov2023-05-04 01:39:15 +0300
commiteaad302bd6f1d30bed1fbdd02e5091d13ce0c7ba (patch)
tree2d0e6817e5bdf48de66c650f84b1edf4ee42e809
parenteaf25b9c6ae4020f76a810b6920b65613ca50e5d (diff)
downloademacs-eaad302bd6f1d30bed1fbdd02e5091d13ce0c7ba.tar.gz
emacs-eaad302bd6f1d30bed1fbdd02e5091d13ce0c7ba.zip
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'.
-rw-r--r--doc/misc/eglot.texi2
-rw-r--r--lisp/progmodes/eglot.el2
2 files changed, 2 insertions, 2 deletions
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}.
1307Often, a newer Eglot version exists that has fixed a longstanding bug, 1307Often, a newer Eglot version exists that has fixed a longstanding bug,
1308has more LSP features, or just better supports a particular language 1308has more LSP features, or just better supports a particular language
1309server. Recent Eglot versions can self-update via the command 1309server. Recent Eglot versions can self-update via the command
1310@kbd{M-x eglot-update}. This will replace any currently installed 1310@kbd{M-x eglot-upgrade}. This will replace any currently installed
1311version with the newest one available from the ELPA archives 1311version with the newest one available from the ELPA archives
1312configured in @code{package-archives}. 1312configured in @code{package-archives}.
1313 1313
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."
1967 (interactive) (info "(eglot)")) 1967 (interactive) (info "(eglot)"))
1968 1968
1969;;;###autoload 1969;;;###autoload
1970(defun eglot-update (&rest _) "Update Eglot." 1970(defun eglot-upgrade (&rest _) "Update Eglot."
1971 (interactive) 1971 (interactive)
1972 (with-no-warnings 1972 (with-no-warnings
1973 (require 'package) 1973 (require 'package)