1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00
emacs/lisp/emacs-lisp
Stefan Kangas 60b071e224 Make cl-gensym obsolete in favor of built-in gensym
* lisp/emacs-lisp/cl-macs.el (cl-gensym): Declare function
obsolete in favor of gensym, added in Emacs 26.1.  The only reason
for its existence is that it allows an integer argument, but
that's not really useful, so it's better to remove this complexity.
Ref: https://lists.gnu.org/r/emacs-devel/2017-09/msg00313.html
* doc/misc/cl.texi (Symbols, Creating Symbols, Efficiency Concerns)
(Obsolete Setf Customization): Don't document above obsolete function.
* lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause):
* lisp/emacs-lisp/edebug.el (edebug-make-form-wrapper):
* lisp/obsolete/cl.el (cl--function-convert, lexical-let):
* lisp/obsolete/thumbs.el (thumbs-temp-file):
* lisp/progmodes/eglot.el (eglot--lambda)
(eglot--when-live-buffer, eglot--when-buffer-window)
(eglot--collecting-xrefs, eglot--glob-parse):
* lisp/progmodes/flymake.el (flymake--run-backend):
* test/lisp/emacs-lisp/package-tests.el (with-package-test):
* test/lisp/progmodes/eglot-tests.el (eglot--guessing-contact):
* test/lisp/progmodes/elisp-mode-tests.el
(elisp-shorthand-read-buffer, elisp-shorthand-read-from-string): Prefer
plain gensym to cl-gensym in files that can depend on Emacs 26.1.
* lisp/jsonrpc.el (jsonrpc-lambda, jsonrpc-request): Prefer gensym to
cl-gensym only when defined, as this file supports Emacs 25.1
* test/lisp/emacs-lisp/cl-macs-tests.el (cl-lib-test-gensym): Simplify
test as 'should' no longer uses cl-gensym.
2025-02-25 01:25:15 +01:00
..
advice.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
avl-tree.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
backquote.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
backtrace.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
benchmark.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bindat.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
byte-opt.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
byte-run.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
bytecomp.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
cconv.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
chart.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
check-declare.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
checkdoc.el New user option checkdoc-allow-quoting-nil-and-t 2025-02-21 17:46:50 +01:00
cl-extra.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
cl-generic.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
cl-indent.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
cl-lib.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
cl-macs.el Make cl-gensym obsolete in favor of built-in gensym 2025-02-25 01:25:15 +01:00
cl-preloaded.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
cl-print.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
cl-seq.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
comp-common.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
comp-cstr.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
comp-run.el ; Remove duplicate defvar in comp-run.el. 2025-01-29 18:13:41 +01:00
comp.el Use cl-with-gensyms in a few more cases 2025-02-25 01:23:33 +01:00
compat.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cond-star.el ; * lisp/emacs-lisp/cond-star.el (cond*): Fix whitespace. 2025-02-23 07:51:44 +02:00
copyright.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
crm.el completing-read-multiple: CRM indication and prompt customization 2025-02-15 13:39:33 +02:00
cursor-sensor.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
debug-early.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
debug.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
derived.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
disass.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
easy-mmode.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
easymenu.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
edebug.el Make cl-gensym obsolete in favor of built-in gensym 2025-02-25 01:25:15 +01:00
eieio-base.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eieio-core.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eieio-custom.el Prefer defface's ':slant italic' to obsolete alias ':italic t' 2025-01-21 09:56:59 +01:00
eieio-datadebug.el Delete redundant lambdas around unary functions 2025-02-11 19:04:00 +01:00
eieio-opt.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eieio-speedbar.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eieio.el Prefer '(evenp A)' to '(= 0 (% A 2))' 2025-02-17 05:37:10 +01:00
eldoc.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
elint.el Prefer '(evenp A)' to '(= 0 (logand A 1))' 2025-02-17 19:30:44 +01:00
elp.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
ert-font-lock.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ert-x.el Move buffer related functions from ert-x.el to ert.el 2025-02-24 20:45:41 +01:00
ert.el Move buffer related functions from ert-x.el to ert.el 2025-02-24 20:45:41 +01:00
ewoc.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
faceup.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
find-func.el Fix ERT / find-function type integration typos 2025-01-22 19:22:24 -08:00
float-sup.el ; Delete out-of-date comment in float-sup.el 2025-02-23 06:34:58 +01:00
generate-lisp-file.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
generator.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
generic.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
gv.el New macros incf and decf 2025-02-23 00:38:22 +01:00
helper.el Prefer '(evenp A)' to '(= 0 (% A 2))' 2025-02-17 05:37:10 +01:00
hierarchy.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
icons.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
inline.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
let-alist.el Merge from origin/emacs-30 2025-02-01 07:39:56 -05:00
lisp-mnt.el ; Delete redundant defvar 2025-02-11 08:42:24 +01:00
lisp-mode.el Highlight multiple symbols in single quotes in CL strings 2025-02-12 04:15:07 +01:00
lisp.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
loaddefs-gen.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
macroexp.el Prefer '(oddp A)' to '(= 1 (logand A 1))' 2025-02-17 19:33:56 +01:00
map-ynp.el Use read-key in amp-y-or-n-p (bug#75886) 2025-02-06 05:36:18 +01:00
map.el ; Minor improvements for doc strings in map.el 2025-01-23 12:29:04 +02:00
memory-report.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
multisession.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
nadvice.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
oclosure.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
package-vc.el Upgrade out-of-date VC package dependencies 2025-02-23 12:22:16 +01:00
package.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
pcase.el Prefer '(evenp A)' to '(= 0 (% A 2))' 2025-02-17 05:37:10 +01:00
pp.el Prefer decf to cl-decf 2025-02-23 00:38:22 +01:00
radix-tree.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
range.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
re-builder.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
regexp-opt.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
regi.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ring.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
rmc.el Delete redundant lambdas around unary functions 2025-02-11 19:04:00 +01:00
rx.el Make the rx eval form use lexical binding when active 2025-02-17 16:24:53 +01:00
seq.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
shadow.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
shortdoc.el New macros incf and decf 2025-02-23 00:38:22 +01:00
shorthands.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
smie.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
subr-x.el Use cl-with-gensyms in a few more cases 2025-02-25 01:23:33 +01:00
syntax.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
tabulated-list.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tcover-ses.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
testcover.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
text-property-search.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
thunk.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
timer-list.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
timer.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tq.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
trace.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
track-changes.el Prefer incf to cl-incf in emacs-lisp/*.el 2025-02-23 00:38:22 +01:00
unsafep.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
vtable.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
warnings.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00