aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2015-04-13 23:20:48 -0700
committerGlenn Morris2015-04-13 23:20:48 -0700
commite84d1ca3c6a643370c4273ad569b618d8cd72b53 (patch)
tree66ab183b2e6978817261abefd79a97deac29a5dc
parentd4b44a07a75666177f8684876c7337c0b91a95da (diff)
downloademacs-e84d1ca3c6a643370c4273ad569b618d8cd72b53.tar.gz
emacs-e84d1ca3c6a643370c4273ad569b618d8cd72b53.zip
Minor doc copyedits
* doc/emacs/custom.texi (Init Examples): Tweak example, replace typo. * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
-rw-r--r--doc/emacs/custom.texi4
-rw-r--r--doc/lispintro/emacs-lisp-intro.texi2
2 files changed, 2 insertions, 4 deletions
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index 429567f577d..a2bea2463e7 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -2440,9 +2440,7 @@ You can also simply disregard the errors that occur if the
2440function is not defined. 2440function is not defined.
2441 2441
2442@example 2442@example
2443(condition case () 2443(ignore-errors (set-face-background 'region "grey75"))
2444 (set-face-background 'region "grey75")
2445 (error nil))
2446@end example 2444@end example
2447 2445
2448A @code{setq} on a variable which does not exist is generally 2446A @code{setq} on a variable which does not exist is generally
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi
index 77d8ca8544f..46dc41a5a65 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -8136,7 +8136,7 @@ However, if an error occurs, among its other actions, the function
8136generating the error signal will define one or more error condition 8136generating the error signal will define one or more error condition
8137names. 8137names.
8138 8138
8139An error handler is the third argument to @code{condition case}. 8139An error handler is the third argument to @code{condition-case}.
8140An error handler has two parts, a @var{condition-name} and a 8140An error handler has two parts, a @var{condition-name} and a
8141@var{body}. If the @var{condition-name} part of an error handler 8141@var{body}. If the @var{condition-name} part of an error handler
8142matches a condition name generated by an error, then the @var{body} 8142matches a condition name generated by an error, then the @var{body}