From 2e7ba2c231f813115bd1e4a1adbf520710c0e0b9 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 7 Oct 2013 01:10:06 -0400 Subject: * lisp/emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...). --- lisp/emacs-lisp/tq.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lisp/emacs-lisp/tq.el') diff --git a/lisp/emacs-lisp/tq.el b/lisp/emacs-lisp/tq.el index d308ce694d2..e608dd3eedc 100644 --- a/lisp/emacs-lisp/tq.el +++ b/lisp/emacs-lisp/tq.el @@ -1,4 +1,4 @@ -;;; tq.el --- utility to maintain a transaction queue +;;; tq.el --- utility to maintain a transaction queue -*- lexical-binding:t -*- ;; Copyright (C) 1985-1987, 1992, 2001-2013 Free Software Foundation, ;; Inc. @@ -87,8 +87,7 @@ to a tcp server on another machine." (process-name process))))))) (buffer-disable-undo (tq-buffer tq)) (set-process-filter process - `(lambda (proc string) - (tq-filter ',tq string))) + (lambda (_proc string) (tq-filter tq string))) tq)) (defun tq-queue-add (tq question re closure fn) -- cgit v1.2.1