From: Eli Zaretskii <eliz@gnu.org>
To: Benjamin Orthen <benjamin@orthen.net>, Paul Eggert <eggert@cs.ucla.edu>
Cc: 37256@debbugs.gnu.org
Subject: bug#37256: 27.0.50; Error (wrong-type-argument stringp nil) thrown when calling (load-theme 'solarized-dark t)
Date: Sun, 01 Sep 2019 19:14:22 +0300 [thread overview]
Message-ID: <83a7bo804h.fsf@gnu.org> (raw)
In-Reply-To: <811ad72f-0968-3837-7517-1aed2efb54d6@orthen.net> (message from Benjamin Orthen on Sun, 1 Sep 2019 17:07:14 +0200)
> From: Benjamin Orthen <benjamin@orthen.net>
> Date: Sun, 1 Sep 2019 17:07:14 +0200
>
> 1. Call emacs -Q
> 2. Call "M-x load-theme" interactively
> 3. Error is thrown: (wrong-type-argument stringp nil)
> 4. Same happens with (load-theme '<some-theme> t) or "M-x
> customize-themes"
> Did not have this error 3 weeks ago when I last built emacs from source.
>
> 5. With debug-init and loading my init file, the backtrace looks as
> follows:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> file-directory-p(nil)
> custom-theme--load-path()
Paul, I think this is because user-emacs-directory is now nil
initially. custom-theme-directory then is computed as nil, and
custom-theme--load-path isn't ready for that.
next prev parent reply other threads:[~2019-09-01 16:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-01 15:07 bug#37256: 27.0.50; Error (wrong-type-argument stringp nil) thrown when calling (load-theme 'solarized-dark t) Benjamin Orthen
2019-09-01 16:14 ` Eli Zaretskii [this message]
2019-09-01 16:59 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83a7bo804h.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=37256@debbugs.gnu.org \
--cc=benjamin@orthen.net \
--cc=eggert@cs.ucla.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.