all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs 29.0.50: compiler warns of unescaped single quotes
@ 2022-06-02  8:57 Andreas Röhler
  2022-06-02  9:09 ` Michael Heerdegen
  2022-06-02  9:18 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Röhler @ 2022-06-02  8:57 UTC (permalink / raw)
  To: help-gnu-emacs

(defvar foo-bar nil
   "'a', 'b', 'c','d', 'e', 'f'")


Byte-compiling with the above code in buffer, Emacs says:

Warning: defvar `foo-bar' docstring has wrong usage of unescaped
     single quotes (use \= or different quoting)


Not sure what I should change.

Thanks,

Andreas


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs 29.0.50: compiler warns of unescaped single quotes
  2022-06-02  8:57 Emacs 29.0.50: compiler warns of unescaped single quotes Andreas Röhler
@ 2022-06-02  9:09 ` Michael Heerdegen
  2022-06-02  9:18 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Heerdegen @ 2022-06-02  9:09 UTC (permalink / raw)
  To: help-gnu-emacs

Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

> (defvar foo-bar nil
>   "'a', 'b', 'c','d', 'e', 'f'")
>
>
> Byte-compiling with the above code in buffer, Emacs says:
>
> Warning: defvar `foo-bar' docstring has wrong usage of unescaped
>     single quotes (use \= or different quoting)
>

Does reading (info "(elisp) Keys in Documentation") answer your
question?

Michael.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs 29.0.50: compiler warns of unescaped single quotes
  2022-06-02  8:57 Emacs 29.0.50: compiler warns of unescaped single quotes Andreas Röhler
  2022-06-02  9:09 ` Michael Heerdegen
@ 2022-06-02  9:18 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-02  9:18 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: help-gnu-emacs

Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

> (defvar foo-bar nil
>   "'a', 'b', 'c','d', 'e', 'f'")
>
> Byte-compiling with the above code in buffer, Emacs says:
>
> Warning: defvar `foo-bar' docstring has wrong usage of unescaped
>     single quotes (use \= or different quoting)
>
> Not sure what I should change.

'a' to `a' (etc) or something else.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-02  9:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-02  8:57 Emacs 29.0.50: compiler warns of unescaped single quotes Andreas Röhler
2022-06-02  9:09 ` Michael Heerdegen
2022-06-02  9:18 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.