RemedyBG»Forums
3 posts
Probolem using .emacs configuration file in HandMade Hero project

Hello, I have some problems using .emacs file while launch Emacs, I started Emacs using:

c:\Program Files\Emacs\emacs-28.1\bin\runemacs.exe" -q -l w:handmade\misc.emacs

but somethings went wrong, in Emacs I have white backgroud and a message that tell me: Malformed arglist: Never, ever split a window ..."

I see that this message is under .emacs file: (defun casey-never-split-a-window "Never, ever split a window. Why would anyone EVER want you to do that??" nil) (setq split-window-preferred-function 'casey-never-split-a-window)

but at the moment I can't configure Emacs in the same way as I see in the tutorials.

Could someone help me

Thank you

1 posts
Probolem using .emacs configuration file in HandMade Hero project

Hi aidoru, This may be a pasting issue, but make sure you add a '' in between 'misc' and '.emacs', the .emacs is the actual file you are editing and misc is a sub directory that .emacs lives in.