I load multiple daemons service at startup with systemd. The purpose of this is to have each one for different applications, one for C coding, one for Ocaml, one for Org...
I have a configuration file for each client which is passed to
load-file when running the daemon.
I want to set the dedault major mode of the scratch buffer for each one of them, so in the config file I have, for the ocaml config as example :
(setq initial-major-mode 'tuareg-mode)
(setq initial-scratch-message "\
(* This buffer is for notes you don't want to save, and for OCaml code.
* If you want to create a file, visit that file with C-x C-f,
* then enter the text in that file's own buffer. *)")
The message is written but the major mode is still lisp.
What happens and how I can I fix that ?