Skip to content
New issue

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

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

Already on GitHub? # to your account

doom-themes-20210527 errors out when loading doom-palenight #606

Closed
tonywl opened this issue May 29, 2021 · 1 comment
Closed

doom-themes-20210527 errors out when loading doom-palenight #606

tonywl opened this issue May 29, 2021 · 1 comment

Comments

@tonywl
Copy link

tonywl commented May 29, 2021

What happened? - start emacs -Q and evaluating the code below produces error below, didn't get error from doom-themes-20210503.

(require 'package)
(setq package-archives '(("melpa" . "https://melpa.org/packages/")))
(package-initialize)
(unless package-archive-contents
  (package-refresh-contents))
(unless (package-installed-p 'use-package)
  (package-install 'use-package))

(load-theme 'doom-palenight t)

What did you expect to happen?

theme should be loaded without error

Steps to reproduce

  1. emacs -Q
  2. eval code above

System Information

  • Emacs version: GNU Emacs 27.2 (build 1, x86_64-apple-darwin19.6.0, Carbon Version 162 AppKit 1894.6) of 2021-04-15

  • Emacs Distro: GNU Emacs

  • Operating System: MacOS

  • Installed commit of doom-themes: doom-themes-20210527.209

------- error --------

Debugger entered--Lisp error: (wrong-type-argument listp :background)
  doom-themes--build-face((lazy-highlight (&dark :background (doom-darken highlight 0.3) :foreground base8 :distant-foreground$
  mapcar(doom-themes--build-face ((bold :weight 'bold :foreground (unless bold base8)) (bold-italic :inherit '(bold italic)) ($
  doom-themes-prepare-facelist((((lazy-highlight &override) :background base4 :foreground fg :distant-foreground fg :bold bold$
  #f(compiled-function (name docstring defs &optional extra-faces extra-vars) "Define a DOOM theme, named NAME (a symbol)." #<$
  (def-doom-theme doom-palenight "A dark theme inspired by Material-Palenight" ((bg '("#292D3E" nil nil)) (bg-alt '("#242837" $
  eval-buffer(#<buffer  *load*> nil "/Users/<user>/.emacs.d/elpa/doom-themes-20210527...." nil t)  ; Reading at buffer positi$
  load-with-code-conversion("/Users/<user>/.emacs.d/elpa/doom-themes-20210527...." "/Users/<user>/.emacs.d/elpa/doom-themes-$
  load("/Users/<user>/.emacs.d/elpa/doom-themes-20210527...." nil t nil t)
  load-theme(doom-palenight t)
  eval((load-theme 'doom-palenight t) nil)
  elisp--eval-last-sexp(nil)
  eval-last-sexp(nil)
  funcall-interactively(eval-last-sexp nil)
  call-interactively(eval-last-sexp nil nil)
  command-execute(eval-last-sexp)
@hlissner
Copy link
Member

This was fixed 2 days ago in b0b4b88. Update the package.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 28, 2021
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants