1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-11 08:30:45 -08:00
emacs/lisp/progmodes
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
..
antlr-mode.el Prefer decf to cl-decf 2025-02-23 00:38:22 +01:00
asm-mode.el (asm-mode): Fix bug#75542 2025-01-16 17:18:24 -05:00
autoconf.el Improve autoconf-mode macro detection 2025-02-17 17:28:05 -08:00
bat-mode.el Prefer defvar-keymap in bat-mode.el 2025-01-20 18:32:33 +01:00
bug-reference.el Allow URL-FORMAT as string and function in bug-reference-setup-from-vc-alist 2025-02-12 10:41:54 +01:00
c-ts-common.el Prefer decf to cl-decf 2025-02-23 00:38:22 +01:00
c-ts-mode.el Use 'const' instead of 'symbol' in 'c-ts-mode-indent-style 2025-02-13 14:19:04 +01:00
cc-align.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-awk.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-bytecomp.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-cmds.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-defs.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-engine.el ; Fix typos 2025-02-22 14:48:29 +01:00
cc-fonts.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-guess.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-langs.el Add keywords var and final to Java Mode 2025-01-08 14:07:36 +00:00
cc-menus.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-mode.el Merge from origin/emacs-30 2025-02-01 07:39:56 -05:00
cc-styles.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-vars.el Remove leading '*' from docstrings in cc-vars.el 2025-02-07 22:30:27 +01:00
cfengine.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cl-font-lock.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cmacexp.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cmake-ts-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
compile.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
cperl-mode.el Prefer cl-evenp/cl-oddp in some places 2025-02-17 02:00:51 +01:00
cpp.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
csharp-mode.el Fix identation in csharp-mode.el 2025-02-21 17:54:29 +01:00
cwarn.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
dcl-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
dockerfile-ts-mode.el Improve fontification of docker-files 2025-02-23 01:03:00 +01:00
ebnf-abn.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf-bnf.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf-dtd.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf-ebx.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf-iso.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf-otz.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf-yac.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf2ps.el Prefer '(oddp A)' to '(= 1 (logand A 1))' 2025-02-17 19:33:56 +01:00
ebrowse.el Prefer decf to cl-decf 2025-02-23 00:38:22 +01:00
eglot.el Make cl-gensym obsolete in favor of built-in gensym 2025-02-25 01:25:15 +01:00
elisp-mode.el Prefer '(oddp A)' to '(= 1 (logand A 1))' 2025-02-17 19:33:56 +01:00
elixir-ts-mode.el Merge from origin/emacs-30 2025-01-04 09:59:52 -05:00
erts-mode.el Prefer defface's ':weight bold' to obsolete alias ':bold t' 2025-01-21 09:29:09 +01:00
etags-regen.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
etags.el ; * lisp/progmodes/etags.el (tags-verify-table): Improve comment (bug#75946). 2025-02-01 15:44:47 +02:00
executable.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
f90.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
flymake-cc.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
flymake-proc.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
flymake.el Make cl-gensym obsolete in favor of built-in gensym 2025-02-25 01:25:15 +01:00
fortran.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
gdb-mi.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
glasses.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
go-ts-mode.el Merge from savannah/emacs-30 2025-02-15 16:58:55 +08:00
grep.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
gud.el Prefer '(oddp A)' to '(= 1 (% A 2))' 2025-02-17 05:37:10 +01:00
heex-ts-mode.el Merge from origin/emacs-30 2025-01-04 09:59:55 -05:00
hideif.el Prefer decf to cl-decf 2025-02-23 00:38:22 +01:00
hideshow.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
icon.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
inf-lisp.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
java-ts-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
js.el Prefer decf to cl-decf 2025-02-23 00:38:22 +01:00
json-ts-mode.el Improve treesit settings for {json,html,toml,yaml}-ts-mode (bug#73404) 2025-02-09 19:54:02 +02:00
ld-script.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
lua-ts-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
m4-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
make-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
meta-mode.el Prefer defvar-keymap in meta-mode.el 2025-02-18 20:04:16 +01:00
mixal-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
modula2.el Don't start docstrings with "This function" or similar 2024-12-26 21:02:45 +01:00
octave.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
opascal.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
pascal.el Prefer defvar-keymap in pascal.el 2025-02-18 20:04:16 +01:00
peg.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
perl-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
php-ts-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
prog-mode.el Adapt query-replace and lazy highlighting to text conversion 2025-02-17 16:47:09 +08:00
project.el project-(remember|forget)-projects-under: Improve docstrings 2025-02-13 02:14:57 +02:00
prolog.el Prefer defface's ':slant italic' to obsolete alias ':italic t' 2025-01-21 09:56:59 +01:00
ps-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
python.el ; Fix typos 2025-02-22 14:48:29 +01:00
ruby-mode.el Prefer '(oddp A)' to '(= 1 (logand A 1))' 2025-02-17 19:33:56 +01:00
ruby-ts-mode.el Fix treesit-outline related settings 2025-02-12 20:31:22 +02:00
rust-ts-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
scheme.el Add scheme-mode indentation for SRFI 64, R7RS guard 2025-02-06 02:02:45 +01:00
sh-script.el * lisp/progmodes/sh-script.el (bash-ts-mode): Improve treesit settings. 2025-02-07 09:47:41 +02:00
simula.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sql.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
subword.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tcl.el Prefer defvar-keymap in tcl.el 2025-02-18 20:04:16 +01:00
typescript-ts-mode.el Prefer decf to cl-decf 2025-02-23 00:38:22 +01:00
vera-mode.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
verilog-mode.el Prefer defface's ':slant italic' to obsolete alias ':italic t' 2025-01-21 09:56:59 +01:00
vhdl-mode.el Prefer defface's ':slant italic' to obsolete alias ':italic t' 2025-01-21 09:56:59 +01:00
which-func.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
xref.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
xscheme.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00