[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Remove redundant 'function's around lambda
From: |
Stefan Kangas |
Subject: |
[PATCH] Remove redundant 'function's around lambda |
Date: |
Tue, 17 Nov 2020 08:55:11 -0800 |
I've been working on removing redundant `function' around `lambda' in
Emacs core, so here is a patch which does the same for Org-mode. Note
that Info node `(elisp) Anonymous Functions' says that:
The read syntax ‘#'’ is a short-hand for using ‘function’. The
following forms are all equivalent:
(lambda (x) (* x x))
(function (lambda (x) (* x x)))
#'(lambda (x) (* x x))
IOW, we can safely remove the wrapped `function' form.
Please see the attached. (My copyright assignment is on file.)
0001-Remove-redundant-function-s-around-lambda.patch
Description: Text Data
- [PATCH] Remove redundant 'function's around lambda,
Stefan Kangas <=