not getting evaluated, I have to run this function every time even though it is in my init.el file and other
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
emacs --debug-init and see if you get a backtrace. The symptom you are describing is probably an error half way through the init file which is aborting the rest of the load.
EDIT in response to the comment:
emacs looks first for
~/.emacs.el) and if it does not find that it looks for
~ stands for your home directory). So just delete
~/.emacs.el if it exists) and it will use