From: João Távora Date: Sat, 5 Jan 2019 13:03:01 +0000 (+0000) Subject: Appease checkdoc X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~347 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6ee4328ca1495afb90fa8b3377781e1b3667ec5d;p=emacs.git Appease checkdoc * eglot.el (eglot--post-self-insert-hook) (eglot--pre-command-hook, eglot--before-change) (eglot--eclipse-jdt-contact): Fix docstrings. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 6de3adf9763..53e60fd6ef0 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -1481,11 +1481,11 @@ THINGS are either registrations or unregisterations." "If non-nil, value of the last inserted character in buffer.") (defun eglot--post-self-insert-hook () - "Set `eglot--last-inserted-char.'" + "Set `eglot--last-inserted-char'." (setq eglot--last-inserted-char last-input-event)) (defun eglot--pre-command-hook () - "Reset `eglot--last-inserted-char.'" + "Reset `eglot--last-inserted-char'." (setq eglot--last-inserted-char nil)) (defun eglot--CompletionParams () @@ -1510,7 +1510,7 @@ THINGS are either registrations or unregisterations." (defvar-local eglot--change-idle-timer nil "Idle timer for didChange signals.") (defun eglot--before-change (start end) - "Hook onto `before-change-functions'." + "Hook onto `before-change-functions' with START and END." ;; Records START and END, crucially convert them into LSP ;; (line/char) positions before that information is lost (because ;; the after-change thingy doesn't know if newlines were @@ -2352,7 +2352,8 @@ If SKIP-SIGNATURE, don't try to send textDocument/signatureHelp." (ignore (eglot--warn "JAVA_HOME env var not set"))))) (defun eglot--eclipse-jdt-contact (interactive) - "Return a contact for connecting to eclipse.jdt.ls server, as a cons cell." + "Return a contact for connecting to eclipse.jdt.ls server, as a cons cell. +If INTERACTIVE, prompt user for details." (cl-labels ((is-the-jar (path)