"M. Pger" <mp...@protonmail.com> writes:

> Actually, using -nw implies that no theme is loaded, so the face colors 
> 'extracted' by htmlize are the flashy default colors of Emacs in terminal.
>
> To have the colors associated with the theme I use, I had to load the theme 
> through build.el and to change my bash script to:
>
> #!/bin/sh
> emacs -q --load=build.el --eval="(eval-buffer)" 
> --eval="(save-buffers-kill-terminal)"
>
> The advantage is of course to have the desired face colors; the minor 
> disadvantage is to see an Emacs frame appearing, loading the theme and then 
> disappearing.

You may also try --daemon. It should not create frame.

Best,
Ihor

Reply via email to