mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Evaluate some unnecessarily quoted lambdas
* lisp/cedet/semantic/complete.el (semantic-displayer-tooltip-max-tags): * lisp/emacs-lisp/benchmark.el (benchmark-run-compiled): * lisp/emacs-lisp/package.el (package--default-summary) (package-menu-filter-by-version): * lisp/eshell/em-pred.el (eshell-pred-file-time): * lisp/progmodes/verilog-mode.el (verilog-auto-lineup) (verilog-auto-reset-widths, verilog-auto-arg-format) (verilog-auto-inst-vector, verilog-auto-inst-template-numbers): * lisp/textmodes/bibtex.el (bibtex-dialect): * test/lisp/autoinsert-tests.el (autoinsert-tests-define-auto-insert-before) (autoinsert-tests-define-auto-insert-after): Remove some unnecessary quoting around anonymous functions.
This commit is contained in:
parent
4cc6854cd4
commit
1ecd350f38
7 changed files with 28 additions and 30 deletions
|
|
@ -451,11 +451,9 @@ resultant list of strings."
|
|||
`(lambda (file)
|
||||
(let ((attrs (file-attributes file)))
|
||||
(if attrs
|
||||
(,(if (eq qual ?-)
|
||||
'time-less-p
|
||||
(if (eq qual ?+)
|
||||
'(lambda (a b) (time-less-p b a))
|
||||
'time-equal-p))
|
||||
(,(cond ((eq qual ?-) #'time-less-p)
|
||||
((eq qual ?+) (lambda (a b) (time-less-p b a)))
|
||||
(#'time-equal-p))
|
||||
,when (nth ,attr-index attrs)))))))
|
||||
|
||||
(defun eshell-pred-file-type (type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue