From: Chunyang Xu <xuchunyang56@gmail.com>
To: 20275@debbugs.gnu.org
Subject: bug#20275: 25.0.50; [PATCH] Fix typo in documentation
Date: Wed, 08 Apr 2015 02:26:30 +0800 [thread overview]
Message-ID: <55242156.8020705@gmail.com> (raw)
Attached patch fixes a typo by changing "condition case" to
"condition-case".
From 438d18d889040b9a4230c917e5e197fd533790ca Mon Sep 17 00:00:00 2001
From: Chunyang Xu <xuchunyang56@gmail.com>
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
next reply other threads:[~2015-04-07 18:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-07 18:26 Chunyang Xu [this message]
2015-04-14 6:21 ` bug#20275: 25.0.50; [PATCH] Fix typo in documentation Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55242156.8020705@gmail.com \
--to=xuchunyang56@gmail.com \
--cc=20275@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.