0

I am using Prelude Emacs and it has different configuration files. I keep my configuration files inside ~/.emacs.d/personal/. . Say, I have a command (menu-bar-mode 1) that enables menu bar inside config1.el but later I unintentionally put another command in another configuration file config2.el in which there ise (menu-bar-mode 0) that disables menu bar of emacs. Which configuration file overtakes other?

1

For that kind of sexp (S-expression - it's not a command), the last one that is evaluated is the one that "wins".

  • Is there a way of knowing repeated S-expression in different el files? and what is the command of knowing the order of directories loaded in emacs? How do I know that which el file is evaluated last? Is it according to alphabetical order of file name? – ofenerci Aug 26 '17 at 17:00
  • I don't understand your questions in the comment. I suggest that you formulate separate clear questions for them. – Drew Aug 27 '17 at 1:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.