]> code.delx.au - gnu-emacs/commitdiff
(Program Modes): Replace inforef to emacs-xtra by conditional xref's, depending
authorEli Zaretskii <eliz@gnu.org>
Sat, 6 May 2006 12:48:03 +0000 (12:48 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 6 May 2006 12:48:03 +0000 (12:48 +0000)
on @iftex/@ifnottex.
(Programs) [ifnottex]: Add menu entry for "Fortran".
<Top Level> [ifnottex]: @include fortran-xtra.texi.

man/programs.texi

index 59ea979399dee4e2a2dc1471c04f78fee7da4b0c..63b694f2709e994ddee2d13bf90560a05bf8f2aa 100644 (file)
@@ -42,6 +42,9 @@ Highlight program syntax (@pxref{Font Lock}).
 * C Modes::             Special commands of C, C++, Objective-C,
                           Java, and Pike modes.
 * Asm Mode::            Asm mode and its special features.
+@ifnottex
+* Fortran::             Fortran mode and its special features.
+@end ifnottex
 @end menu
 
 @node Program Modes
@@ -109,7 +112,14 @@ tab character before point, in these modes.
 Mode, ada-mode, Ada Mode}), C/C++/Objective C/Java/Corba IDL/Pike/AWK
 (@pxref{Top, , CC Mode, ccmode, CC Mode}) and the IDLWAVE modes
 (@pxref{Top, , IDLWAVE, idlwave, IDLWAVE User Manual}).  For Fortran
-mode, @inforef{Fortran,, emacs-xtra}.
+mode, see
+@iftex
+@ref{Fortran,,, emacs-xtra}.
+@end iftex
+@ifnottex
+@ref{Fortran}.
+@end ifnottex
+
 
 @cindex mode hook
 @vindex c-mode-hook
@@ -1742,6 +1752,10 @@ Insert or align a comment.
   The variable @code{asm-comment-char} specifies which character
 starts comments in assembler syntax.
 
+@ifnottex
+@include fortran-xtra.texi
+@end ifnottex
+
 @ignore
    arch-tag: c7ee7409-40a4-45c7-bfb7-ae7f2c74d0c0
 @end ignore