diff options
| author | Glenn Morris | 2011-06-29 14:38:39 -0400 |
|---|---|---|
| committer | Glenn Morris | 2011-06-29 14:38:39 -0400 |
| commit | faf2a1741dfebf7446a37376e26aeb0533a3cac7 (patch) | |
| tree | 03356b1b4ba0f9994a1e5b020f9516f5ab57d351 /lisp | |
| parent | 3076b24ebbbf4a4233c09cd6608b67b7b4ea9b1f (diff) | |
| download | emacs-faf2a1741dfebf7446a37376e26aeb0533a3cac7.tar.gz emacs-faf2a1741dfebf7446a37376e26aeb0533a3cac7.zip | |
* lisp/files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/files.el | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a7a9ebc6cc1..7ed6073339d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-06-29 Glenn Morris <rgm@gnu.org> | 1 | 2011-06-29 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode. | ||
| 4 | |||
| 3 | * ses.el (top-level): Require cl when compiling. | 5 | * ses.el (top-level): Require cl when compiling. |
| 4 | (ses-set-localvars): Fix error statement. | 6 | (ses-set-localvars): Fix error statement. |
| 5 | Call it at compile time to silence a storm of warnings. | 7 | Call it at compile time to silence a storm of warnings. |
diff --git a/lisp/files.el b/lisp/files.el index 7b97b730111..895cbba0ede 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -2268,7 +2268,12 @@ since only a single case-insensitive search through the alist is made." | |||
| 2268 | ("\\.icn\\'" . icon-mode) | 2268 | ("\\.icn\\'" . icon-mode) |
| 2269 | ("\\.sim\\'" . simula-mode) | 2269 | ("\\.sim\\'" . simula-mode) |
| 2270 | ("\\.mss\\'" . scribe-mode) | 2270 | ("\\.mss\\'" . scribe-mode) |
| 2271 | ;; The Fortran standard does not say anything about file extensions. | ||
| 2272 | ;; .f90 was widely used for F90, now we seem to be trapped into | ||
| 2273 | ;; using a different extension for each language revision. | ||
| 2274 | ;; Anyway, the following extensions are supported by gfortran. | ||
| 2271 | ("\\.f9[05]\\'" . f90-mode) | 2275 | ("\\.f9[05]\\'" . f90-mode) |
| 2276 | ("\\.f0[38]\\'" . f90-mode) | ||
| 2272 | ("\\.indent\\.pro\\'" . fundamental-mode) ; to avoid idlwave-mode | 2277 | ("\\.indent\\.pro\\'" . fundamental-mode) ; to avoid idlwave-mode |
| 2273 | ("\\.\\(pro\\|PRO\\)\\'" . idlwave-mode) | 2278 | ("\\.\\(pro\\|PRO\\)\\'" . idlwave-mode) |
| 2274 | ("\\.srt\\'" . srecode-template-mode) | 2279 | ("\\.srt\\'" . srecode-template-mode) |