aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/progmodes/fortran.el9
2 files changed, 13 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8b3db491b32..e354dac34e6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12000-01-24 Dave Love <fx@gnu.org>
2
3 * fortran.el (fortran-mode): Use beginning-of-defun-function,
4 end-of-defun-function.
5
6 * font-lock.el (turn-on-font-lock): Don't depend on window-system
7 &c.
8
12000-01-22 Jason Rumney <jasonr@gnu.org> 92000-01-22 Jason Rumney <jasonr@gnu.org>
2 10
3 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it 11 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el
index 183b1a00e17..d53268441f0 100644
--- a/lisp/progmodes/fortran.el
+++ b/lisp/progmodes/fortran.el
@@ -1,6 +1,6 @@
1;;; fortran.el --- Fortran mode for GNU Emacs 1;;; fortran.el --- Fortran mode for GNU Emacs
2 2
3;; Copyright (c) 1986, 93, 94, 95, 97-99, 2000 Free Software Foundation, Inc. 3;; Copyright (c) 1986, 93, 94, 95, 97, 98, 99, 2000 Free Software Foundation, Inc.
4 4
5;; Author: Michael D. Prange <prange@erl.mit.edu> 5;; Author: Michael D. Prange <prange@erl.mit.edu>
6;; Maintainer: Dave Love <fx@gnu.org> 6;; Maintainer: Dave Love <fx@gnu.org>
@@ -658,7 +658,6 @@ with no args, if that value is non-nil."
658 (setq fortran-tab-mode-string " TAB-format") 658 (setq fortran-tab-mode-string " TAB-format")
659 (setq indent-tabs-mode (fortran-analyze-file-format)) 659 (setq indent-tabs-mode (fortran-analyze-file-format))
660 (setq imenu-case-fold-search t) 660 (setq imenu-case-fold-search t)
661 (make-local-variable 'imenu-generic-expression)
662 (setq imenu-generic-expression fortran-imenu-generic-expression) 661 (setq imenu-generic-expression fortran-imenu-generic-expression)
663 (setq imenu-syntax-alist '(("_$" . "w"))) 662 (setq imenu-syntax-alist '(("_$" . "w")))
664 (set (make-local-variable 'fill-paragraph-function) 'fortran-fill-paragraph) 663 (set (make-local-variable 'fill-paragraph-function) 'fortran-fill-paragraph)
@@ -668,8 +667,10 @@ with no args, if that value is non-nil."
668 (let (fortran-blink-matching-if ; avoid blinking delay 667 (let (fortran-blink-matching-if ; avoid blinking delay
669 indent-region-function) 668 indent-region-function)
670 (indent-region start end nil)))) 669 (indent-region start end nil))))
671 (setq beginning-of-defun #'fortran-beginning-of-subprogram) 670 (set (make-local-variable 'beginning-of-defun-function)
672 (setq end-of-defun #'fortran-end-of-subprogram) 671 #'fortran-beginning-of-subprogram)
672 (set (make-local-variable 'end-of-defun-function)
673 #'fortran-end-of-subprogram)
673 (run-hooks 'fortran-mode-hook)) 674 (run-hooks 'fortran-mode-hook))
674 675
675(defun fortran-comment-indent-function () 676(defun fortran-comment-indent-function ()