From 8a775781dc89a2b4b783b602898931fb9af86435 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 12 May 2016 02:38:09 -0400 Subject: [PATCH] Refactor narf|nlinum-hl-line --- core/defuns/defuns-nlinum.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/defuns/defuns-nlinum.el b/core/defuns/defuns-nlinum.el index c89a31f8c..e6f3efa22 100644 --- a/core/defuns/defuns-nlinum.el +++ b/core/defuns/defuns-nlinum.el @@ -47,7 +47,7 @@ (when (>= peol max) (setq peol max)) (jit-lock-fontify-now pbol peol) - (let ((ov (-first (lambda (item) (overlay-get item 'nlinum)) (overlays-in pbol peol)))) + (let ((ov (--first (overlay-get it 'nlinum) (overlays-in pbol peol)))) (when ov (narf|nlinum-unhl-line) (let ((str (nth 1 (get-text-property 0 'display (overlay-get ov 'before-string)))))