Refactor narf|nlinum-hl-line
This commit is contained in:
parent
ef4b8c5b65
commit
8a775781dc
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
||||||
(when (>= peol max)
|
(when (>= peol max)
|
||||||
(setq peol max))
|
(setq peol max))
|
||||||
(jit-lock-fontify-now pbol peol)
|
(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
|
(when ov
|
||||||
(narf|nlinum-unhl-line)
|
(narf|nlinum-unhl-line)
|
||||||
(let ((str (nth 1 (get-text-property 0 'display (overlay-get ov 'before-string)))))
|
(let ((str (nth 1 (get-text-property 0 'display (overlay-get ov 'before-string)))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue