Mercurial > emacs
comparison man/custom.texi @ 83466:9bec09743395
Merged from
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-38
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-39
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-40
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-506
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Fri, 03 Feb 2006 15:24:23 +0000 |
parents | 6958a4fa4415 |
children | dc2d5a6655a3 d6f8fe3307c8 |
comparison
equal
deleted
inserted
replaced
83465:3ec9cf0f2305 | 83466:9bec09743395 |
---|---|
2027 @cindex key rebinding, permanent | 2027 @cindex key rebinding, permanent |
2028 @cindex rebinding keys, permanently | 2028 @cindex rebinding keys, permanently |
2029 @cindex startup (init file) | 2029 @cindex startup (init file) |
2030 | 2030 |
2031 When Emacs is started, it normally loads a Lisp program from the | 2031 When Emacs is started, it normally loads a Lisp program from the |
2032 file @file{.emacs} or @file{.emacs.el} in your home directory. We | 2032 file @file{.emacs} or @file{.emacs.el} in your home directory |
2033 call this file your @dfn{init file} because it specifies how to | 2033 (see @ref{General Variables, HOME} if you don't know where that is). |
2034 We call this file your @dfn{init file} because it specifies how to | |
2034 initialize Emacs for you. You can use the command line switch | 2035 initialize Emacs for you. You can use the command line switch |
2035 @samp{-q} to prevent loading your init file, and @samp{-u} (or | 2036 @samp{-q} to prevent loading your init file, and @samp{-u} (or |
2036 @samp{--user}) to specify a different user's init file (@pxref{Initial | 2037 @samp{--user}) to specify a different user's init file (@pxref{Initial |
2037 Options}). | 2038 Options}). |
2038 | 2039 |
2440 library. @xref{Hooks}. | 2441 library. @xref{Hooks}. |
2441 | 2442 |
2442 @node Find Init | 2443 @node Find Init |
2443 @subsection How Emacs Finds Your Init File | 2444 @subsection How Emacs Finds Your Init File |
2444 | 2445 |
2445 Normally Emacs uses the environment variable @env{HOME} to find | 2446 Normally Emacs uses the environment variable @env{HOME} |
2446 @file{.emacs}; that's what @samp{~} means in a file name. If | 2447 (@pxref{General Variables, HOME}) to find @file{.emacs}; that's what |
2447 @file{.emacs} is not found inside @file{~/} (nor @file{.emacs.el}), | 2448 @samp{~} means in a file name. If @file{.emacs} is not found inside |
2448 Emacs looks for @file{~/.emacs.d/init.el} (which, like | 2449 @file{~/} (nor @file{.emacs.el}), Emacs looks for |
2449 @file{~/.emacs.el}, can be byte-compiled). | 2450 @file{~/.emacs.d/init.el} (which, like @file{~/.emacs.el}, can be |
2451 byte-compiled). | |
2450 | 2452 |
2451 However, if you run Emacs from a shell started by @code{su}, Emacs | 2453 However, if you run Emacs from a shell started by @code{su}, Emacs |
2452 tries to find your own @file{.emacs}, not that of the user you are | 2454 tries to find your own @file{.emacs}, not that of the user you are |
2453 currently pretending to be. The idea is that you should get your own | 2455 currently pretending to be. The idea is that you should get your own |
2454 editor customizations even if you are running as the super user. | 2456 editor customizations even if you are running as the super user. |