branch: externals/lin
commit d679b80c4a42dd3ee8c00ab87b4bd3414781b1d3
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Reword the lin--hl-line-source-face docstring and remove needless comment
---
lin.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lin.el b/lin.el
index 2f6897feac..8f288b2513 100644
--- a/lin.el
+++ b/lin.el
@@ -315,14 +315,12 @@ Line numbers come from the `display-line-numbers-mode'."
"Cookie of `face-remap-add-relative' for `line-number-current-line' face.")
(defun lin--hl-line-source-face ()
- "Determine the source face: what to remap."
+ "Return the face to be remapped."
(cond
((derived-mode-p 'mu4e-headers-mode)
'mu4e-header-highlight-face)
((derived-mode-p 'magit-mode)
'magit-section-highlight)
- ;; Do not target `hl-line' directly, as it can be changed by
- ;; `hl-line-face'.
((bound-and-true-p hl-line-face)
hl-line-face)
(t