[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master fbda511: Fix cps--gensym
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] master fbda511: Fix cps--gensym |
Date: |
Thu, 14 May 2015 12:00:32 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> ;; Change this function to use `cl-gensym' if you want the generated
> ;; code to be easier to read and debug.
> ;; (cl-gensym (apply #'format fmt args))
> - `(make-symbol ,fmt))
> + `(make-symbol (format ,fmt . ,args)))
Why? As the comment above says, if you want the more readable names,
you should use the other line of code. The default one is aimed at
being more efficient (both cpu-use-wise and memory-use-wise),
Stefan
- Re: [Emacs-diffs] master fbda511: Fix cps--gensym,
Stefan Monnier <=