diff options
| author | Richard M. Stallman | 2001-06-19 11:21:09 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-06-19 11:21:09 +0000 |
| commit | b2d77e08a6deef959aaafcf2b096767d0419ac6e (patch) | |
| tree | 7518d2b10bccbf9ed66dedd44812078d2ede36f9 | |
| parent | a5eab4a9af5731e5d4e178397549f9694c7db119 (diff) | |
| download | emacs-b2d77e08a6deef959aaafcf2b096767d0419ac6e.tar.gz emacs-b2d77e08a6deef959aaafcf2b096767d0419ac6e.zip | |
Minor clarifications.
| -rw-r--r-- | man/custom.texi | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/man/custom.texi b/man/custom.texi index 590d85b4e99..bd554b5d4e8 100644 --- a/man/custom.texi +++ b/man/custom.texi | |||
| @@ -1618,7 +1618,7 @@ character, write it as a Lisp character constant: @samp{?} followed by | |||
| 1618 | the character as it would appear in a string. | 1618 | the character as it would appear in a string. |
| 1619 | 1619 | ||
| 1620 | Here are examples of using vectors to rebind @kbd{C-=} (a control | 1620 | Here are examples of using vectors to rebind @kbd{C-=} (a control |
| 1621 | character outside of ASCII), @kbd{H-a} (a Hyper character; ASCII doesn't | 1621 | character not in ASCII), @kbd{H-a} (a Hyper character; ASCII doesn't |
| 1622 | have Hyper at all), @key{F7} (a function key), and @kbd{C-Mouse-1} (a | 1622 | have Hyper at all), @key{F7} (a function key), and @kbd{C-Mouse-1} (a |
| 1623 | keyboard-modified mouse button): | 1623 | keyboard-modified mouse button): |
| 1624 | 1624 | ||
| @@ -2016,8 +2016,8 @@ string quotes, and so on. It does this by assigning each character to | |||
| 2016 | one of fifteen-odd @dfn{syntax classes}. In some cases it specifies | 2016 | one of fifteen-odd @dfn{syntax classes}. In some cases it specifies |
| 2017 | some additional information also. | 2017 | some additional information also. |
| 2018 | 2018 | ||
| 2019 | Each major mode has its own syntax table (though sometimes related | 2019 | Each major mode has its own syntax table (though related major modes |
| 2020 | major modes share one syntax table) which it installs in each buffer | 2020 | sometimes share one syntax table) which it installs in each buffer |
| 2021 | that uses the mode. The syntax table installed in the current buffer | 2021 | that uses the mode. The syntax table installed in the current buffer |
| 2022 | is the one that all commands use, so we call it ``the'' syntax table. | 2022 | is the one that all commands use, so we call it ``the'' syntax table. |
| 2023 | 2023 | ||
| @@ -2278,20 +2278,23 @@ Here an absolute file name is used, so no searching is done. | |||
| 2278 | @item | 2278 | @item |
| 2279 | @cindex loading Lisp libraries automatically | 2279 | @cindex loading Lisp libraries automatically |
| 2280 | @cindex autoload Lisp libraries | 2280 | @cindex autoload Lisp libraries |
| 2281 | Tell Emacs to automatically load a Lisp library named @file{mypackage} | 2281 | Tell Emacs to find the definition for the function @code{myfunction} |
| 2282 | (i.e.@: a file @file{mypackage.elc} or @file{mypackage.el}) when the | 2282 | by loading a Lisp library named @file{mypackage} (i.e.@: a file |
| 2283 | function @code{myfunction} in that library is called: | 2283 | @file{mypackage.elc} or @file{mypackage.el}): |
| 2284 | 2284 | ||
| 2285 | @example | 2285 | @example |
| 2286 | (autoload 'myfunction "mypackage" "Do what I say." t) | 2286 | (autoload 'myfunction "mypackage" "Do what I say." t) |
| 2287 | @end example | 2287 | @end example |
| 2288 | 2288 | ||
| 2289 | @noindent | 2289 | @noindent |
| 2290 | Here the string @code{"Do what I say."} is the function's documentation | 2290 | Here the string @code{"Do what I say."} is the function's |
| 2291 | string made available to Emacs even when the package is not loaded | 2291 | documentation string. You specify it in the @code{autoload} |
| 2292 | (e.g., for commands such as @kbd{C-h a}), and @code{t} tells Emacs this | 2292 | definition so it will be available for help commands even when the |
| 2293 | function is interactive, that is, it can be invoked interactively by | 2293 | package is not loaded. The last argument, @code{t}, indicates that |
| 2294 | typing @kbd{M-x myfunction @key{RET}} or by binding it to a key. | 2294 | this function is interactive; that is, it can be invoked interactively |
| 2295 | by typing @kbd{M-x myfunction @key{RET}} or by binding it to a key. | ||
| 2296 | If the function is not interactive, omit the @code{t} or use | ||
| 2297 | @code{nil}. | ||
| 2295 | 2298 | ||
| 2296 | @item | 2299 | @item |
| 2297 | Rebind the key @kbd{C-x l} to run the function @code{make-symbolic-link}. | 2300 | Rebind the key @kbd{C-x l} to run the function @code{make-symbolic-link}. |
| @@ -2398,10 +2401,10 @@ library. @xref{Hooks}. | |||
| 2398 | 2401 | ||
| 2399 | Normally Emacs uses the environment variable @env{HOME} to find | 2402 | Normally Emacs uses the environment variable @env{HOME} to find |
| 2400 | @file{.emacs}; that's what @samp{~} means in a file name. But if you | 2403 | @file{.emacs}; that's what @samp{~} means in a file name. But if you |
| 2401 | have done @code{su}, Emacs tries to find your own @file{.emacs}, not | 2404 | run Emacs from a shell started by @code{su}, Emacs tries to find your |
| 2402 | that of the user you are currently pretending to be. The idea is | 2405 | own @file{.emacs}, not that of the user you are currently pretending |
| 2403 | that you should get your own editor customizations even if you are | 2406 | to be. The idea is that you should get your own editor customizations |
| 2404 | running as the super user. | 2407 | even if you are running as the super user. |
| 2405 | 2408 | ||
| 2406 | More precisely, Emacs first determines which user's init file to use. | 2409 | More precisely, Emacs first determines which user's init file to use. |
| 2407 | It gets the user name from the environment variables @env{LOGNAME} and | 2410 | It gets the user name from the environment variables @env{LOGNAME} and |