[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55156: [PATCH] eval.c: New functions `defvar-f` and `defconst-f`
From: |
Eli Zaretskii |
Subject: |
bug#55156: [PATCH] eval.c: New functions `defvar-f` and `defconst-f` |
Date: |
Thu, 28 Apr 2022 16:45:47 +0300 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: 55156@debbugs.gnu.org
> Date: Thu, 28 Apr 2022 09:26:50 -0400
>
> >> +DEFUN ("defvar-f", Fdefvar_f, Sdefvar_f, 2, 3, 0,
> >> + doc: /* Like `defvar' but as a function. */)
> >
> > Please improve the doc string here.
> >
> >> +DEFUN ("defconst-f", Fdefconst_f, Sdefconst_f, 2, 3, 0,
> >> + doc: /* Like `defconst' but as a function. */)
> >
> > Likewise.
>
> How 'bout I use a double dash to make it more clear they're internal?
It should still say something about its intended usage, with Emacs
developers in mind, IMO. Because I doubt that we are going to
document them in the ELisp reference manual, and nor do I think we
should. So this place here is the only place where we can say
something about these functions, so that future hackers of the byte
compiler could maintain this.
- bug#55156: [PATCH] eval.c: New functions `defvar-f` and `defconst-f`, (continued)
bug#55156: [PATCH] eval.c: New functions `defvar-f` and `defconst-f`, Eli Zaretskii, 2022/04/28
bug#55156: [PATCH] eval.c: New functions `defvar-f` and `defconst-f`, Richard Stallman, 2022/04/28