diff options
author | João Távora <joaotavora@gmail.com> | 2022-07-19 13:55:59 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2022-07-19 17:48:44 +0100 |
commit | 3c6356b037d0046f23abad9a4c2f1ccdec65e585 (patch) | |
tree | b4c5afc5c3a73ff6d2daf3a239a15d2fb98eb85f /lisp/progmodes | |
parent | 2a12f622dcd69ae7cd2457c8f1fff2b7912dc47d (diff) | |
download | emacs-3c6356b037d0046f23abad9a4c2f1ccdec65e585.tar.gz emacs-3c6356b037d0046f23abad9a4c2f1ccdec65e585.tar.bz2 emacs-3c6356b037d0046f23abad9a4c2f1ccdec65e585.zip |
Appease byte-compiler warnings about wrong use of quotes
* eglot.el (eglot-stay-out-of, eglot--code-action): Just give it
what it wants.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/eglot.el | 7 |
1 files changed, 3 insertions, 4 deletions
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))) |