From a8b632386d3a59e944c7a44ad6e62f00296dba75 Mon Sep 17 00:00:00 2001 From: Marco Baringer Date: Fri, 12 Oct 2012 16:27:39 +0200 Subject: [PATCH] Remove superfluous lambda. Caught by magnars (https://github.com/magnars/multiple-cursors.el/pull/23#commitcomment-1983191) --- multiple-cursors-core.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el index b2576e9..3874231 100644 --- a/multiple-cursors-core.el +++ b/multiple-cursors-core.el @@ -50,8 +50,7 @@ (cons (cons 'apply (cons 'activate-cursor-for-undo (list id))) buffer-undo-list))))) (defun mc/all-fake-cursors (&optional start end) - (remove-if-not (lambda (overlay) - (mc/fake-cursor-p overlay)) + (remove-if-not 'mc/fake-cursor-p (overlays-in (or start (point-min)) (or end (point-max)))))