summaryrefslogtreecommitdiff
path: root/doc/emacs/fortran-xtra.texi
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-08-21 05:48:32 +0000
committerGlenn Morris <rgm@gnu.org>2008-08-21 05:48:32 +0000
commit87aae241a4afad18d155e1c7a6d94c95022ffe82 (patch)
tree9075cbab4fb478eb920057c7812b1407ac682e09 /doc/emacs/fortran-xtra.texi
parent77a00355a7d024086ac9ab122719993ca62ed61e (diff)
downloademacs-87aae241a4afad18d155e1c7a6d94c95022ffe82.tar.gz
(Fortran Comments): Replace fortran-indent-comment with comment-dwim.
Diffstat (limited to 'doc/emacs/fortran-xtra.texi')
-rw-r--r--doc/emacs/fortran-xtra.texi14
1 files changed, 6 insertions, 8 deletions
diff --git a/doc/emacs/fortran-xtra.texi b/doc/emacs/fortran-xtra.texi
index 3a46837ab9c..14c2392cba2 100644
--- a/doc/emacs/fortran-xtra.texi
+++ b/doc/emacs/fortran-xtra.texi
@@ -336,7 +336,7 @@ unless you have said in advance to do so. To do this, set the variable
@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 @@ Turn all lines of the region into comments, or (with argument) turn them back
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{!}