branch: elpa/cyberpunk-theme
commit 4eabcfa816da9482b2e6aae57c62cd62217df97a
Author: Bastien Guerry <[email protected]>
Commit: Bastien Guerry <[email protected]>

    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