I would like to be able to automate the process of opening several files in emacs under a single frame, so that the frame splits up into multiple windows. Currently I am only able to open 2 files in a single emacs frame (2 windows) by typing this in a linux terminal: emacs file1 file2
. However, if I try to open more than 2 files, for example by typing emacs file1 file2 file3
then it will open file3 in one window and in the other window it will come up with a 'CRM buffer' which lists the files in the directory.
How do I get it to open more than 2 files, so that the emacs frame is split up into more than 2 windows?
Note that 'window' means window in the emacs sense, not in the MS windows sense (frames).