aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2008-08-21 05:48:32 +0000
committerGlenn Morris2008-08-21 05:48:32 +0000
commit87aae241a4afad18d155e1c7a6d94c95022ffe82 (patch)
tree9075cbab4fb478eb920057c7812b1407ac682e09 /doc
parent77a00355a7d024086ac9ab122719993ca62ed61e (diff)
downloademacs-87aae241a4afad18d155e1c7a6d94c95022ffe82.tar.gz
emacs-87aae241a4afad18d155e1c7a6d94c95022ffe82.zip
(Fortran Comments): Replace fortran-indent-comment with comment-dwim.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog1
-rw-r--r--doc/emacs/fortran-xtra.texi14
2 files changed, 7 insertions, 8 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 277d94bfd35..30a198979f2 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,6 +1,7 @@
12008-08-21 Glenn Morris <rgm@gnu.org> 12008-08-21 Glenn Morris <rgm@gnu.org>
2 2
3 * fortran-xtra.texi (Fortran Columns): Document `fortran-line-length'. 3 * fortran-xtra.texi (Fortran Columns): Document `fortran-line-length'.
4 (Fortran Comments): Replace fortran-indent-comment with comment-dwim.
4 5
52008-08-17 Chong Yidong <cyd@stupidchicken.com> 62008-08-17 Chong Yidong <cyd@stupidchicken.com>
6 7
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
336 336
337@table @kbd 337@table @kbd
338@item M-; 338@item M-;
339Align comment or insert new comment (@code{fortran-indent-comment}). 339Align comment or insert new comment (@code{comment-dwim}).
340 340
341@item C-x ; 341@item C-x ;
342Applies to nonstandard @samp{!} comments only. 342Applies to nonstandard @samp{!} comments only.
@@ -346,13 +346,11 @@ Turn all lines of the region into comments, or (with argument) turn them back
346into real code (@code{fortran-comment-region}). 346into real code (@code{fortran-comment-region}).
347@end table 347@end table
348 348
349@findex fortran-indent-comment 349 @kbd{M-;} in Fortran mode runs the standard @code{comment-dwim}.
350 @kbd{M-;} in Fortran mode is redefined as the command 350This recognizes any kind of existing comment and aligns its text
351@code{fortran-indent-comment}. Like the usual @kbd{M-;} command, this 351appropriately; if there is no existing comment, a comment is inserted
352recognizes any kind of existing comment and aligns its text appropriately; 352and aligned. Inserting and aligning comments are not the same in
353if there is no existing comment, a comment is inserted and aligned. But 353Fortran mode as in other modes.
354inserting and aligning comments are not the same in Fortran mode as in
355other modes.
356 354
357 When a new comment must be inserted, if the current line is blank, a 355 When a new comment must be inserted, if the current line is blank, a
358full-line comment is inserted. On a non-blank line, a nonstandard @samp{!} 356full-line comment is inserted. On a non-blank line, a nonstandard @samp{!}