With a recent update, my emacs-feature-loader started to break with
the following error:
https://paste.sr.ht/~ngraves/7e57ed90e8dcd7a7797b18114bb878a5e95a7571
This patch is a fix that is not perfect, but that seem to work
correctly. It disables load-theme in some specific cases (when
`(not (graphic-display-p))` ) and uses the
server-after-make-frame-hook to ensure the theme is enabled when
running the server.
This isn't optimized (we should probably check with unless and
custom-enabled-themes before trying to enable-theme), but it was
painful to fix and I wanted Andrew to review this before optimizing if
useful.
Nicolas Graves (1):
rde: modus-themes: Fix emacs-feature-loader build
src/rde/features/emacs-xyz.scm | 7 ++++++-
src/rde/features/fontutils.scm | 1 +
2 files changed, 7 insertions(+), 1 deletion(-)
--
2.45.2
On 2024-06-26 16:33, Nicolas Graves wrote:
> With a recent update, my emacs-feature-loader started to break with> the following error:> https://paste.sr.ht/~ngraves/7e57ed90e8dcd7a7797b18114bb878a5e95a7571>> This patch is a fix that is not perfect, but that seem to work> correctly. It disables load-theme in some specific cases (when> `(not (graphic-display-p))` ) and uses the> server-after-make-frame-hook to ensure the theme is enabled when> running the server.>> This isn't optimized (we should probably check with unless and> custom-enabled-themes before trying to enable-theme), but it was> painful to fix and I wanted Andrew to review this before optimizing if> useful.>> Nicolas Graves (1):> rde: modus-themes: Fix emacs-feature-loader build>> src/rde/features/emacs-xyz.scm | 7 ++++++-> src/rde/features/fontutils.scm | 1 +> 2 files changed, 7 insertions(+), 1 deletion(-)
I think I merged the same one, marking as superseded.
Let me know, if I didn't notice something.
--
Best regards,
Andrew Tropin
On 2024-07-01 16:12, Andrew Tropin wrote:
> I think I merged the same one, marking as superseded.>> Let me know, if I didn't notice something.
Yes, it was indeed the same, it's just that I had forgotten the cover
letter, IIRC.
--
Best regards,
Nicolas Graves