aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-06-19 11:21:09 +0000
committerRichard M. Stallman2001-06-19 11:21:09 +0000
commitb2d77e08a6deef959aaafcf2b096767d0419ac6e (patch)
tree7518d2b10bccbf9ed66dedd44812078d2ede36f9
parenta5eab4a9af5731e5d4e178397549f9694c7db119 (diff)
downloademacs-b2d77e08a6deef959aaafcf2b096767d0419ac6e.tar.gz
emacs-b2d77e08a6deef959aaafcf2b096767d0419ac6e.zip
Minor clarifications.
-rw-r--r--man/custom.texi33
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
1618the character as it would appear in a string. 1618the 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
1621character outside of ASCII), @kbd{H-a} (a Hyper character; ASCII doesn't 1621character not in ASCII), @kbd{H-a} (a Hyper character; ASCII doesn't
1622have Hyper at all), @key{F7} (a function key), and @kbd{C-Mouse-1} (a 1622have Hyper at all), @key{F7} (a function key), and @kbd{C-Mouse-1} (a
1623keyboard-modified mouse button): 1623keyboard-modified mouse button):
1624 1624
@@ -2016,8 +2016,8 @@ string quotes, and so on. It does this by assigning each character to
2016one of fifteen-odd @dfn{syntax classes}. In some cases it specifies 2016one of fifteen-odd @dfn{syntax classes}. In some cases it specifies
2017some additional information also. 2017some 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
2020major modes share one syntax table) which it installs in each buffer 2020sometimes share one syntax table) which it installs in each buffer
2021that uses the mode. The syntax table installed in the current buffer 2021that uses the mode. The syntax table installed in the current buffer
2022is the one that all commands use, so we call it ``the'' syntax table. 2022is 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
2281Tell Emacs to automatically load a Lisp library named @file{mypackage} 2281Tell Emacs to find the definition for the function @code{myfunction}
2282(i.e.@: a file @file{mypackage.elc} or @file{mypackage.el}) when the 2282by loading a Lisp library named @file{mypackage} (i.e.@: a file
2283function @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
2290Here the string @code{"Do what I say."} is the function's documentation 2290Here the string @code{"Do what I say."} is the function's
2291string made available to Emacs even when the package is not loaded 2291documentation 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 2292definition so it will be available for help commands even when the
2293function is interactive, that is, it can be invoked interactively by 2293package is not loaded. The last argument, @code{t}, indicates that
2294typing @kbd{M-x myfunction @key{RET}} or by binding it to a key. 2294this function is interactive; that is, it can be invoked interactively
2295by typing @kbd{M-x myfunction @key{RET}} or by binding it to a key.
2296If the function is not interactive, omit the @code{t} or use
2297@code{nil}.
2295 2298
2296@item 2299@item
2297Rebind the key @kbd{C-x l} to run the function @code{make-symbolic-link}. 2300Rebind 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
2401have done @code{su}, Emacs tries to find your own @file{.emacs}, not 2404run Emacs from a shell started by @code{su}, Emacs tries to find your
2402that of the user you are currently pretending to be. The idea is 2405own @file{.emacs}, not that of the user you are currently pretending
2403that you should get your own editor customizations even if you are 2406to be. The idea is that you should get your own editor customizations
2404running as the super user. 2407even 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.
2407It gets the user name from the environment variables @env{LOGNAME} and 2410It gets the user name from the environment variables @env{LOGNAME} and