branch: externals/lin
commit df19fb1108d6eefe90aacd67e26baf4bcd8cac60
Author: Nicolas De Jaeghere <[email protected]>
Commit: Nicolas De Jaeghere <[email protected]>
Fix disabling mode
---
lin.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lin.el b/lin.el
index 34967edb5e..5a0c1ae125 100644
--- a/lin.el
+++ b/lin.el
@@ -103,7 +103,7 @@ Used only when `lin-override-foreground' is non-nil."
"Determine face based on `lin-override-foreground'."
(if lin-override-foreground 'lin-hl-override-fg 'lin-hl))
-(defvar lin--cookie nil
+(defvar-local lin--cookie nil
"Cookie returned by `face-remap-add-relative'.")
(define-minor-mode lin-mode