GNU bug report logs - #20275
25.0.50; [PATCH] Fix typo in documentation

Previous Next

Package: emacs;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20275 in the body.
You can then email your comments to 20275 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#20275; Package emacs. (Tue, 07 Apr 2015 19:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chunyang Xu <xuchunyang56 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 07 Apr 2015 19:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Chunyang Xu <xuchunyang56 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; [PATCH] Fix typo in documentation
Date: Wed, 08 Apr 2015 02:26:30 +0800
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





Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Tue, 14 Apr 2015 06:22:02 GMT) Full text and rfc822 format available.

Notification sent to Chunyang Xu <xuchunyang56 <at> gmail.com>:
bug acknowledged by developer. (Tue, 14 Apr 2015 06:22:02 GMT) Full text and rfc822 format available.

Message #10 received at 20275-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 20275-done <at> debbugs.gnu.org
Subject: Re: bug#20275: 25.0.50; [PATCH] Fix typo in documentation
Date: Tue, 14 Apr 2015 02:21:32 -0400
Version: 25.1

Cheers.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 12 May 2015 11:24:08 GMT) Full text and rfc822 format available.

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.