diff options
| author | Glenn Morris | 2008-08-21 05:48:32 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-08-21 05:48:32 +0000 |
| commit | 87aae241a4afad18d155e1c7a6d94c95022ffe82 (patch) | |
| tree | 9075cbab4fb478eb920057c7812b1407ac682e09 /doc | |
| parent | 77a00355a7d024086ac9ab122719993ca62ed61e (diff) | |
| download | emacs-87aae241a4afad18d155e1c7a6d94c95022ffe82.tar.gz emacs-87aae241a4afad18d155e1c7a6d94c95022ffe82.zip | |
(Fortran Comments): Replace fortran-indent-comment with comment-dwim.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 1 | ||||
| -rw-r--r-- | doc/emacs/fortran-xtra.texi | 14 |
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 @@ | |||
| 1 | 2008-08-21 Glenn Morris <rgm@gnu.org> | 1 | 2008-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 | ||
| 5 | 2008-08-17 Chong Yidong <cyd@stupidchicken.com> | 6 | 2008-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-; |
| 339 | Align comment or insert new comment (@code{fortran-indent-comment}). | 339 | Align comment or insert new comment (@code{comment-dwim}). |
| 340 | 340 | ||
| 341 | @item C-x ; | 341 | @item C-x ; |
| 342 | Applies to nonstandard @samp{!} comments only. | 342 | Applies to nonstandard @samp{!} comments only. |
| @@ -346,13 +346,11 @@ Turn all lines of the region into comments, or (with argument) turn them back | |||
| 346 | into real code (@code{fortran-comment-region}). | 346 | into 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 | 350 | This recognizes any kind of existing comment and aligns its text |
| 351 | @code{fortran-indent-comment}. Like the usual @kbd{M-;} command, this | 351 | appropriately; if there is no existing comment, a comment is inserted |
| 352 | recognizes any kind of existing comment and aligns its text appropriately; | 352 | and aligned. Inserting and aligning comments are not the same in |
| 353 | if there is no existing comment, a comment is inserted and aligned. But | 353 | Fortran mode as in other modes. |
| 354 | inserting and aligning comments are not the same in Fortran mode as in | ||
| 355 | other 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 |
| 358 | full-line comment is inserted. On a non-blank line, a nonstandard @samp{!} | 356 | full-line comment is inserted. On a non-blank line, a nonstandard @samp{!} |