unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20275: 25.0.50; [PATCH] Fix typo in documentation
@ 2015-04-07 18:26 Chunyang Xu
  2015-04-14  6:21 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Chunyang Xu @ 2015-04-07 18:26 UTC (permalink / raw)
  To: 20275

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






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#20275: 25.0.50; [PATCH] Fix typo in documentation
  2015-04-07 18:26 bug#20275: 25.0.50; [PATCH] Fix typo in documentation Chunyang Xu
@ 2015-04-14  6:21 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2015-04-14  6:21 UTC (permalink / raw)
  To: 20275-done

Version: 25.1

Cheers.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-14  6:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07 18:26 bug#20275: 25.0.50; [PATCH] Fix typo in documentation Chunyang Xu
2015-04-14  6:21 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).