changeset 97590:4b2311c2836f

(Fortran Comments): Replace fortran-indent-comment with comment-dwim.
author Glenn Morris <rgm@gnu.org>
date Thu, 21 Aug 2008 05:44:41 +0000
parents b159ee2aaf6f
children 6eb6461062b5
files doc/emacs/fortran-xtra.texi
diffstat 1 files changed, 6 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/fortran-xtra.texi	Thu Aug 21 05:37:38 2008 +0000
+++ b/doc/emacs/fortran-xtra.texi	Thu Aug 21 05:44:41 2008 +0000
@@ -336,7 +336,7 @@
 
 @table @kbd
 @item M-;
-Align comment or insert new comment (@code{fortran-indent-comment}).
+Align comment or insert new comment (@code{comment-dwim}).
 
 @item C-x ;
 Applies to nonstandard @samp{!} comments only.
@@ -346,13 +346,11 @@
 into real code (@code{fortran-comment-region}).
 @end table
 
-@findex fortran-indent-comment
-  @kbd{M-;} in Fortran mode is redefined as the command
-@code{fortran-indent-comment}.  Like the usual @kbd{M-;} command, this
-recognizes any kind of existing comment and aligns its text appropriately;
-if there is no existing comment, a comment is inserted and aligned.  But
-inserting and aligning comments are not the same in Fortran mode as in
-other modes.
+  @kbd{M-;} in Fortran mode runs the standard @code{comment-dwim}.
+This recognizes any kind of existing comment and aligns its text
+appropriately; if there is no existing comment, a comment is inserted
+and aligned.  Inserting and aligning comments are not the same in
+Fortran mode as in other modes.
 
   When a new comment must be inserted, if the current line is blank, a
 full-line comment is inserted.  On a non-blank line, a nonstandard @samp{!}