1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
emacs/lisp/emacs-lisp
Stefan Monnier 79400f4f18 (cl-labels): Add support for (FUNC EXP) bindings (bug#59786)
Allow `cl-labels` to use the same (FUNC EXP) bindings as were already added
to `cl-flet` in Emacs-25.  The Info doc (mistakenly) already documented this
new feature.

* lisp/emacs-lisp/cl-macs.el (cl--self-tco-on-form): New function.
(cl-labels): Use it to add support for (FUNC EXP) bindings.

* test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs--labels): Add test for
tail-recursive (FUNC EXP) bindings.
2024-11-12 22:58:53 -05:00
..
advice.el ad-activate-advised-definition: Use proper function objects 2024-05-30 18:57:56 -04:00
avl-tree.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
backquote.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
backtrace.el Allow escape from 'read-key' 2024-10-27 12:28:12 +02:00
benchmark.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
bindat.el * lisp/emacs-lisp/bindat.el (sint): Burp in dynbind (bug#69749) 2024-03-15 12:45:09 -04:00
byte-opt.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
byte-run.el Add some basic checking for function type declarations 2024-07-24 19:20:11 +02:00
bytecomp.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
cconv.el Use a dedicated type to represent interpreted-function values 2024-04-28 11:58:12 -04:00
chart.el Merge from origin/emacs-30 2024-10-12 05:53:27 -04:00
check-declare.el Do not attempt to check declarations in lock files 2024-02-20 22:49:07 +01:00
checkdoc.el Merge from origin/emacs-30 2024-08-24 06:04:51 -04:00
cl-extra.el Use Emacs Lisp xref backend in Lisp Help buffers 2024-10-03 03:05:18 +03:00
cl-generic.el Improve navigation to cl-defgeneric uses 2024-05-26 05:56:14 +03:00
cl-indent.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cl-lib.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cl-macs.el (cl-labels): Add support for (FUNC EXP) bindings (bug#59786) 2024-11-12 22:58:53 -05:00
cl-preloaded.el Rename subr-native-elisp to native-comp-function (bug#71123) 2024-05-28 20:52:40 -04:00
cl-print.el Use a dedicated type to represent interpreted-function values 2024-04-28 11:58:12 -04:00
cl-seq.el Safer and faster string sorting 2024-05-12 14:58:38 +02:00
comp-common.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
comp-cstr.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
comp-run.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
comp.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
compat.el ; * lisp/emacs-lisp/compat.el: Fix header style. 2024-08-18 11:47:38 +02:00
cond-star.el ; * lisp/emacs-lisp/cond-star.el: Require cl-lib. 2024-10-26 09:05:10 +03:00
copyright.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
crm.el Support minibuffer-visible-completions in completing-read-multiple 2024-08-07 19:52:36 +03:00
cursor-sensor.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
debug-early.el (backtrace-on-redisplay-error): Use handler-bind 2024-01-04 16:37:01 -05:00
debug.el debug.el: Prevent re-entering the debugger for the same error 2024-03-16 23:10:48 -04:00
derived.el derived.el: Delete old code (bug#68625) 2024-01-29 19:04:59 -05:00
disass.el Redirect calls to subr-native-elisp-p to native-comp-function-p 2024-05-28 20:53:25 -04:00
easy-mmode.el ; * lisp/emacs-lisp/easy-mmode.el (easy-mmode--prev): Doc fix. 2024-09-27 08:49:46 +03:00
easymenu.el ; Improve documentation of 'easy-menu-define' 2024-09-14 11:55:08 +03:00
edebug.el Call PF correctly from pcase--edebug-match-pat-args 2024-10-28 16:35:27 +00:00
eieio-base.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio-core.el (cl-type-of): New function to return more precise types (bug#69739) 2024-03-18 09:29:47 -04:00
eieio-custom.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio-datadebug.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio-opt.el ; Simplify (with-current-buffer (get-buffer ...) ...) 2024-03-14 12:40:26 +02:00
eieio-speedbar.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
eldoc.el Checkdoc fixes in emacs-lisp/*.el 2024-07-08 14:30:37 +02:00
elint.el Take file-local variables into account in elint-file (bug#69076) 2024-02-14 08:54:04 +01:00
elp.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ert-font-lock.el Require ert-x for use by 'ert-font-lock-deftest-file' 2024-09-28 14:10:00 +03:00
ert-x.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
ert.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
ewoc.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
faceup.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
find-func.el find-function-mode: Define keys at a low precedence level 2024-10-04 20:46:00 +08:00
float-sup.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
generate-lisp-file.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
generator.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
generic.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
gv.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
helper.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
hierarchy.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
icons.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
inline.el * lisp/emacs-lisp/inline.el (inline-const-val): Improve docstring 2024-01-30 13:14:32 -05:00
let-alist.el Support numeric indexing in let-alist 2024-09-19 03:54:59 +02:00
lisp-mnt.el Merge from savannah/emacs-30 2024-07-07 10:23:08 +08:00
lisp-mode.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
lisp.el Prefer defcustom :local specifier 2024-10-04 01:38:11 +02:00
loaddefs-gen.el Merge from origin/emacs-30 2024-10-27 08:23:05 -04:00
macroexp.el Revert "Preserve source position of macro calls in macro expansions" 2024-10-20 17:05:32 +02:00
map-ynp.el Correct earlier change to map-ynp 2024-05-08 20:26:08 +08:00
map.el * lisp/emacs-lisp/map.el (map--make-pcase-bindings): Fix use in Emacs<30 2024-02-21 08:49:15 -05:00
memory-report.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
multisession.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
nadvice.el ; Fix typos 2024-10-27 07:49:32 +01:00
oclosure.el Use a dedicated type to represent interpreted-function values 2024-04-28 11:58:12 -04:00
package-vc.el ; Touch up & fix documentation changes from last commit 2024-10-24 21:36:58 +08:00
package-x.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
package.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
pcase.el Call PF correctly from pcase--edebug-match-pat-args 2024-10-28 16:35:27 +00:00
pp.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
radix-tree.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
range.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
re-builder.el ; Simplify (with-current-buffer (get-buffer ...) ...) 2024-03-14 12:40:26 +02:00
regexp-opt.el Change 'type' declaration to 'ftype' 2024-05-14 11:17:25 +02:00
regi.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ring.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rmc.el ; Fix typos in symbols 2024-06-29 17:29:38 +02:00
rx.el Remove misspelled rx category chinse-two-byte 2024-08-01 10:42:24 +02:00
seq.el ; * admin/MAINTAINERS: Remove Nicolas Petton. 2024-07-25 16:15:52 +02:00
shadow.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
shortdoc.el ; * lisp/vc/vc-git.el (vc-git--out-str): Doc fix. 2024-03-18 15:59:54 +02:00
shorthands.el Improve shorthands-font-lock-shorthands (bug#67390) 2024-02-03 08:40:03 -06:00
smie.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
subr-x.el Fix 'string-pixel-width' to not reset 'display-line-numbers' 2024-11-09 12:58:38 +02:00
syntax.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
tabulated-list.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
tcover-ses.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
testcover.el Declare nested backquotes unsupported in Pcase patterns (bug#72328) 2024-09-24 14:01:26 -04:00
text-property-search.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
thunk.el ; * admin/MAINTAINERS: Remove Nicolas Petton. 2024-07-25 16:15:52 +02:00
timer-list.el Use timer accessors instead of aref/aset 2024-07-25 14:40:35 +02:00
timer.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
tq.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
trace.el Merge from origin/emacs-29 2024-02-10 05:07:56 -05:00
track-changes.el Merge from origin/emacs-30 2024-10-18 17:56:15 +02:00
unsafep.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
vtable.el Replace vtable--color-blend with color-blend 2024-11-09 12:40:56 +02:00
warnings.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00