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

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

[elpa] externals/lin 7c7c244362 1/3: Fix typo in the new user option's s


From: ELPA Syncer
Subject: [elpa] externals/lin 7c7c244362 1/3: Fix typo in the new user option's symbol
Date: Mon, 5 Aug 2024 03:58:44 -0400 (EDT)

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

    Fix typo in the new user option's symbol
---
 README.org | 6 +++---
 lin.el     | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.org b/README.org
index 2906bbc0ae..f723ecd935 100644
--- a/README.org
+++ b/README.org
@@ -114,10 +114,10 @@ background attribute.  The Lin faces with the 
=-override-fg= suffix set
 a foreground value which replaces that of the underlying text.  Whereas
 the others only specify a background attribute.
 
-[ The ~lin-remap-cureent-line-number~ is part of {{{development-version}}}. ]
+[ The ~lin-remap-current-line-number~ is part of {{{development-version}}}. ]
 
-#+vindex: lin-remap-cureent-line-number
-The user option ~lin-remap-cureent-line-number~ controls whether to
+#+vindex: lin-remap-current-line-number
+The user option ~lin-remap-current-line-number~ controls whether to
 apply the Lin style also to the currently highlighted line number.
 Line numbers come from the built-in ~display-line-numbers-mode~.
 
diff --git a/lin.el b/lin.el
index 30ae528738..d4b029a6dd 100644
--- a/lin.el
+++ b/lin.el
@@ -145,7 +145,7 @@ updates the face.  Users who prefer to use `setq' must run
   :package-version '(lin . "0.3.0")
   :group 'lin)
 
-(defcustom lin-remap-cureent-line-number t
+(defcustom lin-remap-current-line-number t
   "When non-nil, apply `lin-face' also to the current line number.
 Line numbers come from the `display-line-numbers-mode'."
   :type 'boolean
@@ -334,7 +334,7 @@ Line numbers come from the `display-line-numbers-mode'."
   (if lin-mode
       (progn
         (setq lin--hl-line-cookie (face-remap-add-relative 
(lin--hl-line-source-face) lin-face))
-        (when lin-remap-cureent-line-number
+        (when lin-remap-current-line-number
           (setq lin--line-number-current-line-cookie (face-remap-add-relative 
'line-number-current-line lin-face)))
         (hl-line-mode 1))
     (face-remap-remove-relative lin--hl-line-cookie)



reply via email to

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