--- Begin Message ---
Subject: |
25.0.50; [PATCH] Fix typo in documentation |
Date: |
Wed, 08 Apr 2015 02:26:30 +0800 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
Attached patch fixes a typo by changing "condition case" to
"condition-case".
From 438d18d889040b9a4230c917e5e197fd533790ca Mon Sep 17 00:00:00 2001
From: Chunyang Xu <address@hidden>
Date: Wed, 8 Apr 2015 02:10:54 +0800
Subject: [PATCH] Fix typo in documentation
* doc/emacs/custom.texi: fix a typo
* doc/lispintro/emacs-lisp-intro.texi: fix a typo
---
doc/emacs/custom.texi | 2 +-
doc/lispintro/emacs-lisp-intro.texi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index 9fd823b..5bd1e97 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -2440,7 +2440,7 @@ You can also simply disregard the errors that
occur if the
function is not defined.
@example
-(condition case ()
+(condition-case ()
(set-face-background 'region "grey75")
(error nil))
@end example
diff --git a/doc/lispintro/emacs-lisp-intro.texi
b/doc/lispintro/emacs-lisp-intro.texi
index ed125bb..80ecab4 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}
--
2.3.4
--- End Message ---