# HG changeset patch # User Glenn Morris # Date 1024955298 0 # Node ID 9ee4a7e221803c9741542af960e3ef895d8d67ee # Parent d57daf0a986a2c71971a8ee9f1e8af365a98294e *** empty log message *** diff -r d57daf0a986a -r 9ee4a7e22180 etc/NEWS --- 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', diff -r d57daf0a986a -r 9ee4a7e22180 man/programs.texi --- 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