LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   save option in .emacs (http://www.linuxquestions.org/questions/linux-software-2/save-option-in-emacs-866730/)

xeon123 03-06-2011 06:24 AM

save option in .emacs
 
Hi,

I set word wrap on in emacs, and now I would like to save the option in .emacs.
Instead of going to .emacs file and put the configuration there, I would like to know if exist a command to save the options that I enabled during my time in emacs? So, the next time that I open emacs, word wrap is already on.

Thanks,

Telengard 03-07-2011 04:40 PM

Emacs allows you to have multiple configuration files. From my experience, you need to save .emacs in your home directory (/home/you/.emacs).

Otherwise, I think it is possible to change the option in the global configuration file in /etc. You will have to assume root to do it, and the changes will affect all users of the system.

sycamorex 03-07-2011 04:44 PM

You might have a look at this.
http://penguinpetes.com/b2evo/index....&c=1&tb=1&pb=1.


All times are GMT -5. The time now is 03:42 PM.