branch: externals/eglot commit 87e6de3cdfa2f8049b2881350f31db31f9df627e Author: João Távora <joaotav...@gmail.com> Commit: João Távora <joaotav...@gmail.com>
Appease byte-compiler warnings about wrong use of quotes * eglot.el (eglot-stay-out-of, eglot--code-action): Just give it what it wants. --- eglot.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/eglot.el b/eglot.el index 582ad1fdee..caebced529 100644 --- a/eglot.el +++ b/eglot.el @@ -1596,9 +1596,8 @@ However, if you wish for Eglot to stay out of a particular Emacs facility that you'd like to keep control of add an element to this list and Eglot will refrain from setting it. -For example, to keep your Company customization use - -(add-to-list 'eglot-stay-out-of 'company)") +For example, to keep your Company customization, add the symbol +`company' to this variable.") (defun eglot--stay-out-of-p (symbol) "Tell if EGLOT should stay of of SYMBOL." @@ -3122,7 +3121,7 @@ at point. With prefix argument, prompt for ACTION-KIND." (defmacro eglot--code-action (name kind) "Define NAME to execute KIND code action." `(defun ,name (beg &optional end) - ,(format "Execute '%s' code actions between BEG and END." kind) + ,(format "Execute `%s' code actions between BEG and END." kind) (interactive (eglot--region-bounds)) (eglot-code-actions beg end ,kind)))