.emacs (dot-emacs where the initial period causes problems) is the name of the main configuration file of the emacs text editor.
.emacs
(dot-emacs when the initial period causes problems) is the name of the main configuration, initialization, and customization file of the GNU emacs text editor. In absence of .emacs
GNU Emacs version 23 and higher uses .emacs.d/init.el
as initialization file.
The contents of the Emacs initialization file is read and execute by Emacs at startup, and changing it is the most common way of customizing an Emacs environment. The configuration and customization directives in the .emacs
file frequently invoke further packages so that the main file doesn't become impractically long: these are conventionally stored in the .emacs.d
directory. In addition to hand-editing the file, changes to it can be made with emacs' M-x customize facility.
See also: