GNU bug report logs - #37256
27.0.50; Error (wrong-type-argument stringp nil) thrown when calling (load-theme 'solarized-dark t)

Previous Next

Package: emacs;

Reported by: Benjamin Orthen <benjamin <at> orthen.net>

Date: Sun, 1 Sep 2019 15:56:01 UTC

Severity: normal

Merged with 37258

Found in version 27.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Benjamin Orthen <benjamin <at> orthen.net>, Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 37256 <at> 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
> From: Benjamin Orthen <benjamin <at> 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.





This bug report was last modified 5 years and 320 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.