emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 35c893d 2/2: Move gensym to core Elisp


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 35c893d 2/2: Move gensym to core Elisp
Date: Tue, 12 Sep 2017 12:48:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> +(defun gensym (&optional prefix)
> +  "Return a new uninterned symbol.
> +The name is made by appending `gensym-counter' to PREFIX.
> +PREFIX can be a string, and defaults to \"G\".
> +If PREFIX is a number, it replaces the value of `gensym-counter'."

I understand that Common-Lisp has that "PREFIX is a number"
functionality, but I could never find a use-case for it, so I wonder why
we carry over that baggage to Elisp?


        Stefan



reply via email to

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