diff options
author | João Távora <joaotavora@gmail.com> | 2023-05-05 14:51:09 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2023-05-05 14:58:17 +0100 |
commit | c0ab4e9ca9326c472ff1d9d01a0e3966f20fda27 (patch) | |
tree | 936a9677cde6787754d5fad15f6089363ab420bf /lisp | |
parent | b4e90070f965316ba647dde7a5d37821e4f4c793 (diff) | |
download | emacs-c0ab4e9ca9326c472ff1d9d01a0e3966f20fda27.tar.gz |
Eglot: re-rename eglot-upgrade to eglot-upgrade-eglot
* doc/misc/eglot.texi (Getting the latest version): Mention
eglot-upgrade-eglot.
* etc/EGLOT-NEWS: Mention eglot-upgrade-eglot.
* lisp/progmodes/eglot.el (eglot-upgrade-eglot): Rename from
eglot-update.
(eglot-update): New compatibility alias.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/eglot.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 6d1d010eb9a..df8f5f64829 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-upgrade (&rest _) "Update Eglot." +(defun eglot-upgrade-eglot (&rest _) "Update Eglot to latest version." (interactive) (with-no-warnings (require 'package) @@ -1976,6 +1976,9 @@ If it is activated, also signal textDocument/didOpen." (package-delete existing t)) (package-install (cadr (assoc 'eglot package-archive-contents))))) +;;;###autoload +(define-obsolete-function-alias 'eglot-update 'eglot-upgrade-eglot "29.1") + (easy-menu-define eglot-menu nil "Eglot" `("Eglot" ;; Commands for getting information and customization. |