> <\body> When starting up, executes the file <\verbatim> \ \ \ \ $TEXMACS_PATH/progs/init-texmacs.scm as well as your personal initialization file <\verbatim> \ \ \ \ $TEXMACS_HOME_PATH/progs/my-init-texmacs.scm if it exists. By default, the path equals . Similarly, each time you create a new buffer (either by creating a new file or opening an already existing one), the file <\verbatim> \ \ \ \ $TEXMACS_PATH/progs/init-buffer.scm is executed, as well as <\verbatim> \ \ \ \ $TEXMACS_HOME_PATH/progs/my-init-buffer.scm if it exists. <\example> Suppose you want to add a style package of your own to every new document you create. You can add the following lines to : <\scm-code> (when (buffer-newly-created? (current-buffer)) \ \ (set-style-list (append (get-style-list) '("CustomStyle"))) \ \ (buffer-pretend-saved (current-buffer))) First we check whether the has been newly created in order not to apply the style to existing files when we open them. Then we add the new package (instead of changing it with ) using and finally we call to prevent from thinking the buffer has been modified by the change of style, or it would always prompt asking for confirmation before closing an empty buffer. >