+2000-01-24 Dave Love <fx@gnu.org>
+
+ * fortran.el (fortran-mode): Use beginning-of-defun-function,
+ end-of-defun-function.
+
+ * font-lock.el (turn-on-font-lock): Don't depend on window-system
+ &c.
+
2000-01-22 Jason Rumney <jasonr@gnu.org>
* term/w32-win.el (w32_create_initial_fontsets): Disabled as it
;;; fortran.el --- Fortran mode for GNU Emacs
-;; Copyright (c) 1986, 93, 94, 95, 97-99, 2000 Free Software Foundation, Inc.
+;; Copyright (c) 1986, 93, 94, 95, 97, 98, 99, 2000 Free Software Foundation, Inc.
;; Author: Michael D. Prange <prange@erl.mit.edu>
;; Maintainer: Dave Love <fx@gnu.org>
(setq fortran-tab-mode-string " TAB-format")
(setq indent-tabs-mode (fortran-analyze-file-format))
(setq imenu-case-fold-search t)
- (make-local-variable 'imenu-generic-expression)
(setq imenu-generic-expression fortran-imenu-generic-expression)
(setq imenu-syntax-alist '(("_$" . "w")))
(set (make-local-variable 'fill-paragraph-function) 'fortran-fill-paragraph)
(let (fortran-blink-matching-if ; avoid blinking delay
indent-region-function)
(indent-region start end nil))))
- (setq beginning-of-defun #'fortran-beginning-of-subprogram)
- (setq end-of-defun #'fortran-end-of-subprogram)
+ (set (make-local-variable 'beginning-of-defun-function)
+ #'fortran-beginning-of-subprogram)
+ (set (make-local-variable 'end-of-defun-function)
+ #'fortran-end-of-subprogram)
(run-hooks 'fortran-mode-hook))
\f
(defun fortran-comment-indent-function ()