Mercurial > hg > xemacs-beta
comparison man/xemacs/custom.texi @ 424:11054d720c21 r21-2-20
Import from CVS: tag r21-2-20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:26:11 +0200 |
parents | 697ef44129c6 |
children |
comparison
equal
deleted
inserted
replaced
423:28d9c139be4c | 424:11054d720c21 |
---|---|
1537 @cindex rebinding keys, permanently | 1537 @cindex rebinding keys, permanently |
1538 | 1538 |
1539 When you start Emacs, it normally loads the file @file{.emacs} in your | 1539 When you start Emacs, it normally loads the file @file{.emacs} in your |
1540 home directory. This file, if it exists, should contain Lisp code. It | 1540 home directory. This file, if it exists, should contain Lisp code. It |
1541 is called your initialization file or @dfn{init file}. Use the command | 1541 is called your initialization file or @dfn{init file}. Use the command |
1542 line switches @samp{-q} and @samp{-u} to tell Emacs whether to load an | 1542 line switch @samp{-q} to tell Emacs whether to load an |
1543 init file (@pxref{Entering Emacs}). | 1543 init file (@pxref{Entering Emacs}). Use the command line switch |
1544 | 1544 @samp{-user-init-file} (@pxref{Command Switches}) to tell Emacs to load |
1545 @vindex init-file-user | 1545 a different file instead of @file{~/.emacs}. |
1546 When the @file{.emacs} file is read, the variable @code{init-file-user} | 1546 |
1547 says which user's init file it is. The value may be the null string or a | 1547 When the @file{.emacs} file is read, the variable @code{user-init-file} |
1548 string containing a user's name. If the value is a null string, it means | 1548 says which init file was loaded. |
1549 that the init file was taken from the user that originally logged in. | |
1550 | |
1551 In all cases, @code{(concat "~" init-file-user "/")} evaluates to the | |
1552 directory name of the directory where the @file{.emacs} file was looked | |
1553 for. | |
1554 | 1549 |
1555 At some sites there is a @dfn{default init file}, which is the | 1550 At some sites there is a @dfn{default init file}, which is the |
1556 library named @file{default.el}, found via the standard search path for | 1551 library named @file{default.el}, found via the standard search path for |
1557 libraries. The Emacs distribution contains no such library; your site | 1552 libraries. The Emacs distribution contains no such library; your site |
1558 may create one for local customizations. If this library exists, it is | 1553 may create one for local customizations. If this library exists, it is |