From: Stefan Kangas Date: Fri, 11 Nov 2022 12:55:11 +0000 (+0100) Subject: eglot: Remove menu entry for manual X-Git-Tag: emacs-29.0.90~1616^2~196 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c64d94c84979425665b9ca88c1cad5830d2fabe0;p=emacs.git eglot: Remove menu entry for manual * 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) --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 7935272705d..a091d892b68 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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.