changeset 45997:9ee4a7e22180

*** empty log message ***
author Glenn Morris <rgm@gnu.org>
date Mon, 24 Jun 2002 21:48:18 +0000
parents d57daf0a986a
children 124e2db60fc7
files etc/NEWS man/programs.texi
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Mon Jun 24 21:35:09 2002 +0000
+++ b/etc/NEWS	Mon Jun 24 21:48:18 2002 +0000
@@ -705,7 +705,10 @@
 ---
 ** Perl mode has a new variable `perl-indent-continued-arguments'.
 
++++
 ** Fortran mode has a new variable `fortran-directive-re'.
+Adapt this to match the format of any compiler directives you use.
+Lines that match are never indented, and are given distinctive font-locking.
 
 ---
 ** F90 mode has new navigation commands `f90-end-of-block',
--- a/man/programs.texi	Mon Jun 24 21:35:09 2002 +0000
+++ b/man/programs.texi	Mon Jun 24 21:48:18 2002 +0000
@@ -2155,6 +2155,15 @@
 @code{fortran-comment-indent-char} to the single-character string you want
 to use.
 
+@vindex fortran-directive-re
+  Compiler directive lines, or preprocessor lines, have much the same
+appearance as comment lines.  It is important, though, that such lines
+never be indented at all, no matter what the value of
+@code{fortran-comment-indent-style}.  The variable
+@code{fortran-directive-re} is a regular expression that specifies which
+lines are directives.  Matching lines are never indented, and receive
+distinctive font-locking.
+
 @vindex comment-line-start
 @vindex comment-line-start-skip
   Fortran mode introduces two variables @code{comment-line-start} and