GNU bug report logs -
#20275
25.0.50; [PATCH] Fix typo in documentation
Previous Next
Reported by: Chunyang Xu <xuchunyang56 <at> gmail.com>
Date: Tue, 7 Apr 2015 19:42:02 UTC
Severity: minor
Tags: patch
Found in version 25.0.50
Fixed in version 25.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#20275: 25.0.50; [PATCH] Fix typo in documentation
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 20275 <at> debbugs.gnu.org.
--
20275: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20275
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Version: 25.1
Cheers.
[Message part 3 (message/rfc822, inline)]
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 <at> 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
This bug report was last modified 10 years and 41 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.