Remove duplicate words.
[bpt/emacs.git] / doc / misc / ada-mode.texi
index 382f1fa..274bdcb 100644 (file)
@@ -4,11 +4,11 @@
 
 @copying
 Copyright @copyright{} 1999, 2000, 2001, 2002, 2003, 2004,
-2005, 2006, 2007, 2008  Free Software Foundation, Inc.
+2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
 
 @quotation
 Permission is granted to copy, distribute and/or modify this document
-under the terms of the GNU Free Documentation License, Version 1.2 or
+under the terms of the GNU Free Documentation License, Version 1.3 or
 any later version published by the Free Software Foundation; with no
 Invariant Sections, with the Front-Cover texts being ``A GNU Manual'',
 and with the Back-Cover Texts as in (a) below.  A copy of the license
@@ -37,11 +37,14 @@ developing GNU and promoting software freedom.''
 @insertcopying
 @end titlepage
 
-@c fixme; title page doesn't show up in ada-mode.info; why bother with
-@c it?
+@contents
 
 @node Top, Overview, (dir), (dir)
 
+@ifnottex
+@insertcopying
+@end ifnottex
+
 @menu
 * Overview::
 * Installation::                Installing Ada mode on your system
@@ -373,7 +376,7 @@ and other things on a per-project basis.
 
 Note that Ada mode project files @samp{*.adp} are different than GNAT
 compiler project files @samp{*.gpr}. However, Emacs Ada mode can use a
-GNAT project project file to specify the project directories. If no
+GNAT project file to specify the project directories. If no
 other customization is needed, a GNAT project file can be used without
 an Emacs Ada mode project file.
 
@@ -749,7 +752,7 @@ point is put at the place of the error in the @file{hello.adb} buffer.
 To fix the error, change the line to be
 
 @example
-    Ada.Text_IO.Put_Line ("hello from hello.adb"):
+    Ada.Text_IO.Put_Line ("hello from hello.adb");
 @end example
 
 Now invoke @key{Ada | Show main}; this displays @file{Ada mode main: hello}.
@@ -827,8 +830,7 @@ Invoke @key{Ada | Set main and Build}, which sets @code{main} to
 the current file.
 
 @item
-Invoke @key{Ada | Project | Edit}, edit @code{main} and
-@code{main}, and click @key{[save]}
+Invoke @key{Ada | Project | Edit}, edit @code{main}, and click @key{[save]}
 
 @item
 Invoke @key{Ada | Project | Load}, and load a project file that specifies @code{main}
@@ -1349,7 +1351,7 @@ to @code{My_VARIable}.
 @end table
 
 Ada mode allows you to define exceptions to these rules, in a file
-specified by the variable variable @code{ada-case-exception-file}
+specified by the variable @code{ada-case-exception-file}
 (default @file{~/.emacs_case_exceptions}). Each line in this file
 specifies the casing of one word or word fragment. Comments may be
 included, separated from the word by a space.
@@ -1521,7 +1523,6 @@ autofill the current comment.
 
 @printindex fn
 
-@contents
 @bye
 
 @ignore