comparison lispref/os.texi @ 7086:075343a6b32b

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Sun, 24 Apr 1994 21:47:17 +0000
parents fa8ff07eaafc
children 6a2af30d33fe
comparison
equal deleted inserted replaced
7085:5e56975be72a 7086:075343a6b32b
157 When you start Emacs, it normally attempts to load the file 157 When you start Emacs, it normally attempts to load the file
158 @file{.emacs} from your home directory. This file, if it exists, must 158 @file{.emacs} from your home directory. This file, if it exists, must
159 contain Lisp code. It is called your @dfn{init file}. The command line 159 contain Lisp code. It is called your @dfn{init file}. The command line
160 switches @samp{-q} and @samp{-u} affect the use of the init file; 160 switches @samp{-q} and @samp{-u} affect the use of the init file;
161 @samp{-q} says not to load an init file, and @samp{-u} says to load a 161 @samp{-q} says not to load an init file, and @samp{-u} says to load a
162 specified user's init file instead of yours. @xref{Entering Emacs, , , 162 specified user's init file instead of yours. @xref{Entering Emacs,,,
163 emacs, The GNU Emacs Manual}. 163 emacs, The GNU Emacs Manual}.
164 164
165 @cindex default init file 165 @cindex default init file
166 A site may have a @dfn{default init file}, which is the library named 166 A site may have a @dfn{default init file}, which is the library named
167 @file{default.el}. Emacs finds the @file{default.el} file through the 167 @file{default.el}. Emacs finds the @file{default.el} file through the
180 If there is a great deal of code in your @file{.emacs} file, you 180 If there is a great deal of code in your @file{.emacs} file, you
181 should move it into another file named @file{@var{something}.el}, 181 should move it into another file named @file{@var{something}.el},
182 byte-compile it (@pxref{Byte Compilation}), and make your @file{.emacs} 182 byte-compile it (@pxref{Byte Compilation}), and make your @file{.emacs}
183 file load the other file using @code{load} (@pxref{Loading}). 183 file load the other file using @code{load} (@pxref{Loading}).
184 184
185 @xref{Init File Examples, , , emacs, The GNU Emacs Manual}, for 185 @xref{Init File Examples,,, emacs, The GNU Emacs Manual}, for
186 examples of how to make various commonly desired customizations in your 186 examples of how to make various commonly desired customizations in your
187 @file{.emacs} file. 187 @file{.emacs} file.
188 188
189 @defopt inhibit-default-init 189 @defopt inhibit-default-init
190 This variable prevents Emacs from loading the default initialization 190 This variable prevents Emacs from loading the default initialization
644 "TERM=ibmapa16" 644 "TERM=ibmapa16"
645 "SHELL=/bin/csh" 645 "SHELL=/bin/csh"
646 "HOME=/user/lewis") 646 "HOME=/user/lewis")
647 @end group 647 @end group
648 @end smallexample 648 @end smallexample
649 @end defvar
650
651 @defvar invocation-name
652 This variable holds the program name under which Emacs was invoked. The
653 value is a string, and does not include a directory name.
654 @end defvar
655
656 @defvar invocation-directory
657 This variable holds the directory from which the Emacs executable was
658 invoked, or perhaps @code{nil} if that directory cannot be determined.
659 @end defvar
660
661 @defvar installation-directory
662 If non-@code{nil}, this is a directory within which to look for the
663 @file{lib-src} and @file{etc} subdirectories. This is non-@code{nil}
664 when Emacs can't find those directories in their standard installed
665 locations, but can find them near where the Emacs executable was found.
649 @end defvar 666 @end defvar
650 667
651 @defun load-average 668 @defun load-average
652 This function returns the current 1 minute, 5 minute and 15 minute 669 This function returns the current 1 minute, 5 minute and 15 minute
653 load averages in a list. The values are integers that are 100 times 670 load averages in a list. The values are integers that are 100 times
1319 @kbd{C-^} into @kbd{C-s} and @kbd{C-q} were typed. Except at its very 1336 @kbd{C-^} into @kbd{C-s} and @kbd{C-q} were typed. Except at its very
1320 lowest level, Emacs never knows that the characters typed were anything 1337 lowest level, Emacs never knows that the characters typed were anything
1321 but @kbd{C-s} and @kbd{C-q}, so you can in effect type them as @kbd{C-\} 1338 but @kbd{C-s} and @kbd{C-q}, so you can in effect type them as @kbd{C-\}
1322 and @kbd{C-^} even when they are input for other commands. 1339 and @kbd{C-^} even when they are input for other commands.
1323 @xref{Translating Input}. 1340 @xref{Translating Input}.
1341 @end enumerate
1324 1342
1325 If the terminal is the source of the flow control characters, then once 1343 If the terminal is the source of the flow control characters, then once
1326 you enable kernel flow control handling, you probably can make do with 1344 you enable kernel flow control handling, you probably can make do with
1327 less padding than normal for that terminal. You can reduce the amount 1345 less padding than normal for that terminal. You can reduce the amount
1328 of padding by customizing the Termcap entry. You can also reduce it by 1346 of padding by customizing the Termcap entry. You can also reduce it by