Next: , Previous: , Up: Configuring   [Index]


4.2.2 Emacs Directory

Variable: user-emacs-directory

Directory beneath which additional per-user Emacs-specific files are placed. Various programs in Emacs store information in this directory.

Function: locate-user-emacs-file new-name &optional old-name

Return an absolute per-user Emacs-specific file name.

NEW-NAME

If ‘NEW-NAME’ exists in user-emacs-directory, return it.

OLD-NAME

else if ‘OLD-NAME’ is non-nil and ‘~/OLD-NAME’ exists, return ‘~/OLD-NAME’.

else return ‘NEW-NAME’ in user-emacs-directory, creating the directory if it does not exist.