aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefan Monnier2010-04-02 21:54:24 -0400
committerStefan Monnier2010-04-02 21:54:24 -0400
commit2912322b80f7db17e3aefd58884056f99f1024e6 (patch)
tree2dc8988120a3aaedc331c4b4d92021277f05a07b /doc
parenta568f507d1a646c351e1eda0266378316493ab11 (diff)
parentd86d8ea85a165558eb06fe16ffdf24c06886e7b4 (diff)
downloademacs-2912322b80f7db17e3aefd58884056f99f1024e6.tar.gz
emacs-2912322b80f7db17e3aefd58884056f99f1024e6.zip
Merge from emacs-23
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog10
-rw-r--r--doc/lispref/control.texi15
-rw-r--r--doc/lispref/nonascii.texi6
3 files changed, 28 insertions, 3 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 21f400948dc..d3b268e10c7 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,13 @@
12010-04-01 Chong Yidong <cyd@stupidchicken.com>
2
3 * nonascii.texi (Text Representations): Don't mark
4 enable-multibyte-characters as a user option.
5
62010-03-31 Eli Zaretskii <eliz@gnu.org>
7
8 * control.texi (Handling Errors): How to re-throw a signal caught
9 by condition-case.
10
12010-03-26 Chong Yidong <cyd@stupidchicken.com> 112010-03-26 Chong Yidong <cyd@stupidchicken.com>
2 12
3 * loading.texi (Hooks for Loading): Document after-load-functions. 13 * loading.texi (Hooks for Loading): Document after-load-functions.
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index 2b4aabaff83..1c4447e9eb5 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -1023,6 +1023,20 @@ error description.
1023 1023
1024If @var{var} is @code{nil}, that means no variable is bound. Then the 1024If @var{var} is @code{nil}, that means no variable is bound. Then the
1025error symbol and associated data are not available to the handler. 1025error symbol and associated data are not available to the handler.
1026
1027@cindex rethrow a signal
1028Sometimes it is necessary to re-throw a signal caught by
1029@code{condition-case}, for some outer-level handler to catch. Here's
1030how to do that:
1031
1032@smallexample
1033 (signal (car err) (cdr err))
1034@end smallexample
1035
1036@noindent
1037where @code{err} is the error description variable, the first argument
1038to @code{condition-case} whose error condition you want to re-throw.
1039@xref{Definition of signal}.
1026@end defspec 1040@end defspec
1027 1041
1028@defun error-message-string error-description 1042@defun error-message-string error-description
@@ -1109,6 +1123,7 @@ Here's the example at the beginning of this subsection rewritten using
1109@end smallexample 1123@end smallexample
1110@end defmac 1124@end defmac
1111 1125
1126
1112@node Error Symbols 1127@node Error Symbols
1113@subsubsection Error Symbols and Condition Names 1128@subsubsection Error Symbols and Condition Names
1114@cindex error symbol 1129@cindex error symbol
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index 8289a498337..dfcb3e4730b 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -37,7 +37,7 @@ how they are stored in strings and buffers.
37 37
38 Emacs buffers and strings support a large repertoire of characters 38 Emacs buffers and strings support a large repertoire of characters
39from many different scripts, allowing users to type and display text 39from many different scripts, allowing users to type and display text
40in most any known written language. 40in almost any known written language.
41 41
42@cindex character codepoint 42@cindex character codepoint
43@cindex codespace 43@cindex codespace
@@ -95,7 +95,7 @@ strings except for manipulating encoded text or binary non-text data.
95The representation for a string is determined and recorded in the string 95The representation for a string is determined and recorded in the string
96when the string is constructed. 96when the string is constructed.
97 97
98@defopt enable-multibyte-characters 98@defvar enable-multibyte-characters
99This variable specifies the current buffer's text representation. 99This variable specifies the current buffer's text representation.
100If it is non-@code{nil}, the buffer contains multibyte text; otherwise, 100If it is non-@code{nil}, the buffer contains multibyte text; otherwise,
101it contains unibyte encoded text or binary non-text data. 101it contains unibyte encoded text or binary non-text data.
@@ -105,7 +105,7 @@ You cannot set this variable directly; instead, use the function
105 105
106The @samp{--unibyte} command line option does its job by setting the 106The @samp{--unibyte} command line option does its job by setting the
107default value to @code{nil} early in startup. 107default value to @code{nil} early in startup.
108@end defopt 108@end defvar
109 109
110@defun position-bytes position 110@defun position-bytes position
111Buffer positions are measured in character units. This function 111Buffer positions are measured in character units. This function