Re: putting stuff from custom.el into init.el
Michael Heerdegen <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
Gfp <[email protected]> writes: > I create a file in which I have to put my settings. - Can it be > a file with the ending „.org“? - or does it need to have an > „.el“ ending like init.el? - or I have to create an .el file > and an .org file and put something in > the .el file that it loads the custom.el file and the .org > file in case I want an .org file? Read this as a starting point: (info "(emacs) Saving Customizations") Remember you should keep a custom file because it is sometimes used internally. An Emacs init file is just a normal Emacs Lisp file. There is a way using .org files for fans of org-mode, but this is not the standard way. The standard way is to use a file as described here: (info "(emacs) Init File") > So my question is how can I set up something without > „customize emacs“ „custom.el“? > > I would need to know the code! How can I find that code for > my personal settings which are now in custom.el? I can´t > create code myself yet. If you want to use Emacs-Lisp for configuration, you will have to learn at least some basics. Copy-pasting stuff from "the internet" is possible (the Emacs Wiki(s) are a good source for beginners), but once you encounter a problem, you will need to address it at the Emacs Lisp level. Several tools simplify or standardize configuration writing, such as `use-package' (probably the most prominent example) . I personally avoid using them, so I won't advertise any here. Michael.