From: João Távora Date: Tue, 19 Jul 2022 12:55:59 +0000 (+0100) Subject: Appease byte-compiler warnings about wrong use of quotes X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~31 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3c6356b037d0046f23abad9a4c2f1ccdec65e585;p=emacs.git Appease byte-compiler warnings about wrong use of quotes * eglot.el (eglot-stay-out-of, eglot--code-action): Just give it what it wants. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 582ad1fdee8..caebced5292 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/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)))