diff options
| author | Jim Blandy | 1993-02-14 14:27:24 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-02-14 14:27:24 +0000 |
| commit | 4632a8938ae0bf3cb12586417c42fc923cd0e53d (patch) | |
| tree | 96f732357a9bc7cfede89ad165467108dd8b390e | |
| parent | 997d34382152fbc9802dd90ae4e40d6cb0b4442a (diff) | |
| download | emacs-4632a8938ae0bf3cb12586417c42fc923cd0e53d.tar.gz emacs-4632a8938ae0bf3cb12586417c42fc923cd0e53d.zip | |
* fortran.el (fortran-prepare-abbrev-list-buffer): Put quote in
front of first argument to `insert-abbrev-table-description'.
* fortran.el (fortran-is-in-string-p): Fixed incorrect behaviour
when in first statement of a buffer.
| -rw-r--r-- | lisp/progmodes/fortran.el | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el index 5a0aa4511f8..5a987da372b 100644 --- a/lisp/progmodes/fortran.el +++ b/lisp/progmodes/fortran.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Michael D. Prange <prange@erl.mit.edu> | 5 | ;; Author: Michael D. Prange <prange@erl.mit.edu> |
| 6 | ;; Maintainer: bug-fortran-mode@erl.mit.edu | 6 | ;; Maintainer: bug-fortran-mode@erl.mit.edu |
| 7 | ;; Version 1.30 (November 18, 1992) | 7 | ;; Version 1.30 (February 2, 1993) |
| 8 | ;; Keywords: languages | 8 | ;; Keywords: languages |
| 9 | 9 | ||
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| @@ -38,10 +38,10 @@ | |||
| 38 | 38 | ||
| 39 | ;;; This file may be used with GNU Emacs version 18.xx if the following | 39 | ;;; This file may be used with GNU Emacs version 18.xx if the following |
| 40 | ;;; variable and function substutions are made. | 40 | ;;; variable and function substutions are made. |
| 41 | ;;; Replace: | 41 | ;;; Replace: |
| 42 | ;;; unread-command-events with unread-command-char | 42 | ;;; frame-width with screen-width |
| 43 | ;;; frame-width with screen-width | 43 | ;;; auto-fill-function with auto-fill-hook |
| 44 | ;;; auto-fill-function with auto-fill-hook | 44 | ;;; (setq unread-command-events (list c)) with (setq unread-command-char c) |
| 45 | 45 | ||
| 46 | ;;; Bugs to bug-fortran-mode@erl.mit.edu | 46 | ;;; Bugs to bug-fortran-mode@erl.mit.edu |
| 47 | 47 | ||
| @@ -483,7 +483,7 @@ Any other key combination is executed normally." | |||
| 483 | (save-excursion | 483 | (save-excursion |
| 484 | (set-buffer (get-buffer-create "*Abbrevs*")) | 484 | (set-buffer (get-buffer-create "*Abbrevs*")) |
| 485 | (erase-buffer) | 485 | (erase-buffer) |
| 486 | (insert-abbrev-table-description fortran-mode-abbrev-table t) | 486 | (insert-abbrev-table-description 'fortran-mode-abbrev-table t) |
| 487 | (goto-char (point-min)) | 487 | (goto-char (point-min)) |
| 488 | (set-buffer-modified-p nil) | 488 | (set-buffer-modified-p nil) |
| 489 | (edit-abbrevs-mode)) | 489 | (edit-abbrevs-mode)) |
| @@ -1029,8 +1029,8 @@ Fortran strings are delimeted by apostrophes (\'). Quote-Escape-sequences | |||
| 1029 | (let ((is-in-fortran-string nil)) | 1029 | (let ((is-in-fortran-string nil)) |
| 1030 | (save-excursion | 1030 | (save-excursion |
| 1031 | (goto-char pos) | 1031 | (goto-char pos) |
| 1032 | (fortran-previous-statement) | 1032 | (if (not (fortran-previous-statement)) |
| 1033 | (fortran-next-statement) | 1033 | (fortran-next-statement)) |
| 1034 | (while (< (point) pos) | 1034 | (while (< (point) pos) |
| 1035 | ;; Make sure we don't count quotes in continuation column. | 1035 | ;; Make sure we don't count quotes in continuation column. |
| 1036 | (if (looking-at "^ ") | 1036 | (if (looking-at "^ ") |