[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master e84d1ca: Minor doc copyedits
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master e84d1ca: Minor doc copyedits |
Date: |
Tue, 14 Apr 2015 06:21:19 +0000 |
branch: master
commit e84d1ca3c6a643370c4273ad569b618d8cd72b53
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
Minor doc copyedits
* doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
* doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
---
doc/emacs/custom.texi | 4 +---
doc/lispintro/emacs-lisp-intro.texi | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index 429567f..a2bea24 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
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
diff --git a/doc/lispintro/emacs-lisp-intro.texi
b/doc/lispintro/emacs-lisp-intro.texi
index 77d8ca8..46dc41a 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
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}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master e84d1ca: Minor doc copyedits,
Glenn Morris <=