]> git.eshelyaron.com Git - emacs.git/commitdiff
eglot: Remove menu entry for manual
authorStefan Kangas <stefankangas@gmail.com>
Fri, 11 Nov 2022 12:55:11 +0000 (13:55 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 11 Nov 2022 12:58:37 +0000 (13:58 +0100)
* lisp/progmodes/eglot.el (eglot-manual): Make obsolete.  Open the
eglot info manual instead of the less exhaustive README.
(eglot-menu): Remove entry for reading the manual.  (Bug#58892)

lisp/progmodes/eglot.el

index 7935272705d281959c97872f2babd6f8f8715bc7..a091d892b68e795ea2e055db6fc101e188085638 100644 (file)
@@ -1841,13 +1841,13 @@ If it is activated, also signal textDocument/didOpen."
                                            (call-interactively what)
                                            (force-mode-line-update t))))))
 
-(defun eglot-manual () "Open on-line documentation."
-  (interactive) (browse-url "https://github.com/joaotavora/eglot#readme"))
+(defun eglot-manual () "Open documentation."
+  (declare (obsolete info "29.1"))
+  (interactive) (info "(eglot)"))
 
 (easy-menu-define eglot-menu nil "Eglot"
   `("Eglot"
     ;; Commands for getting information and customization.
-    ["Read manual" eglot-manual]
     ["Customize Eglot" (lambda () (interactive) (customize-group "eglot"))]
     "--"
     ;; xref like commands.