]> code.delx.au - gnu-emacs/commitdiff
Minor doc copyedits
authorGlenn Morris <rgm@gnu.org>
Tue, 14 Apr 2015 06:20:48 +0000 (23:20 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 14 Apr 2015 06:20:48 +0000 (23:20 -0700)
* doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.

* doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.

doc/emacs/custom.texi
doc/lispintro/emacs-lisp-intro.texi

index 429567f577df4f8ba74d0a20a32552d843b24286..a2bea2463e7b8469038b0ff9db615a0d1d7d22fa 100644 (file)
@@ -2440,9 +2440,7 @@ You can also simply disregard the errors that occur if the
 function is not defined.
 
 @example
-(condition case ()
-    (set-face-background 'region "grey75")
-  (error nil))
+(ignore-errors (set-face-background 'region "grey75"))
 @end example
 
 A @code{setq} on a variable which does not exist is generally
index 77d8ca8544ff29595213f7c7348c148fe9c05f90..46dc41a5a656957244c3aad51849a82758dc633c 100644 (file)
@@ -8136,7 +8136,7 @@ However, if an error occurs, among its other actions, the function
 generating the error signal will define one or more error condition
 names.
 
-An error handler is the third argument to @code{condition case}.
+An error handler is the third argument to @code{condition-case}.
 An error handler has two parts, a @var{condition-name} and a
 @var{body}.  If the @var{condition-name} part of an error handler
 matches a condition name generated by an error, then the @var{body}