Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nil rainbow-delimiters-depth-%d-face during daemon's init #36

Open
Ambrevar opened this issue Mar 24, 2018 · 0 comments
Open

nil rainbow-delimiters-depth-%d-face during daemon's init #36

Ambrevar opened this issue Mar 24, 2018 · 0 comments

Comments

@Ambrevar
Copy link

I tried using the following snippet:

  (require 'cl-lib)
  (require 'color)
  (cl-loop
   for index from 1 to rainbow-delimiters-max-face-count
   do
   (let ((face (intern (format "rainbow-delimiters-depth-%d-face" index))))
     (cl-callf color-saturate-name (face-foreground face) 30)))

(From https://yoo2080.wordpress.com/2013/12/21/small-rainbow-delimiters-tutorial/)

Running emacs, it works perfectly. If I start Emacs in daemon mode however, it fails. I narrowed down the issue to (face-foreground rainbow-delimiters-depth-1-face) being nil (as well as for the 8 other faces).

Any idea why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant