emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/lin ea1275a282 02/46: Fix typo


From: ELPA Syncer
Subject: [elpa] externals/lin ea1275a282 02/46: Fix typo
Date: Thu, 7 Apr 2022 23:57:43 -0400 (EDT)

branch: externals/lin
commit ea1275a2826bd6dddd0583b5fffc2dc1d4fa0dcd
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Fix typo
    
    Thanks to Nicolas De Jaeghere for pointing it out:
    
<https://gitlab.com/protesilaos/lin/-/commit/1a31e919336cf26e05192b19d985e5b8b66df604#note_719835687>.
---
 lin.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lin.el b/lin.el
index a891bb8f76..1807e082c7 100644
--- a/lin.el
+++ b/lin.el
@@ -91,7 +91,7 @@ This requires `lin-mode' to be restarted wherever it is 
active."
   "Like `lin-hl', but does not override foreground color."
   :group 'lin)
 
-(defun line--face ()
+(defun lin--face ()
   "Determine face based on `lin-foreground-override'."
   (if lin-foreground-override 'lin-hl 'lin-hl-line-no-fg))
 
@@ -102,7 +102,7 @@ This requires `lin-mode' to be restarted wherever it is 
active."
   "Remap `hl-line' face to a local `lin-hl' face."
   :local t
   :init-value nil
-  (let ((face (line--face)))
+  (let ((face (lin--face)))
     (if lin-mode
         (setq lin--cookie (face-remap-add-relative 'hl-line face))
       (face-remap-remove-relative lin--cookie))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]