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

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

[nongnu] elpa/cyberpunk-theme 4eabcfa 034/132: cyberpunk-theme.el: Use :


From: ELPA Syncer
Subject: [nongnu] elpa/cyberpunk-theme 4eabcfa 034/132: cyberpunk-theme.el: Use :background to set the cursor color
Date: Thu, 21 Oct 2021 18:03:44 -0400 (EDT)

branch: elpa/cyberpunk-theme
commit 4eabcfa816da9482b2e6aae57c62cd62217df97a
Author: Bastien Guerry <bzg@altern.org>
Commit: Bastien Guerry <bzg@altern.org>

    cyberpunk-theme.el: Use :background to set the cursor color
    
    In a cyberpunk buffer (frame-parameter (selected-frame) 'cursor-color)
    is nil because frame-parameter checks against the :background parameter,
    not the :foreground parameter.  This is a problem in auto-complete-mode
    where the frame cursor color may be saved and restored.
---
 cyberpunk-theme.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cyberpunk-theme.el b/cyberpunk-theme.el
index 55591e8..edf46d9 100644
--- a/cyberpunk-theme.el
+++ b/cyberpunk-theme.el
@@ -114,7 +114,7 @@
 
    ;;; basic coloring
    `(default ((,class (:foreground ,cyberpunk-gray :background 
,cyberpunk-black))))
-   `(cursor ((,class (:foreground ,cyberpunk-fg))))
+   `(cursor ((,class (:background ,cyberpunk-fg))))
    `(escape-glyph-face ((,class (:foreground ,cyberpunk-red))))
    ;; `(fringe ((,class (:foreground ,cyberpunk-fg :background 
,cyberpunk-bg+1))))
    `(header-line ((,class (:foreground ,cyberpunk-yellow



reply via email to

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