I'm trying to set a variable at load-time:
# emacs --eval '(defvar myvar t)'
Now, in this session, if I
C-h v myvar RET I get a nice
t. But if I put
(message "MYVAR: %s" myvar) in my init file, I get a nasty
Symbol's value as variable is void: myvar.
I also tried
# emacs --eval '(eval-after-load (defvar myvar t) t)'
Without luck. (How) can I set (Elisp, not ENV) variables on the command line that I can use in my init file?