emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Typo in defconst-1 and defvar-1 docstrings?


From: Philip Kaludercic
Subject: Typo in defconst-1 and defvar-1 docstrings?
Date: Thu, 06 Oct 2022 18:45:40 +0000

I was reading through the implementation of defconst-1, but was confused
by the docstring that states:

   More specifically behaves like (defvar SYM 'INITVALUE DOCSTRING).

Isn't the point of defconst-1 as a functional variant of defconst, that
SYM will evaluate to a symbol?  And why should INITVALUE be quoted?
Unless I am mistaken, this patch ought to resolve the confusion:

Attachment: 0001-Fix-misquoted-examples-in-def-var-const-1.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]