Commit 9783df21 authored by Glenn Morris's avatar Glenn Morris
Browse files

f90.el fix for bug#7919.

* lisp/progmodes/f90.el (f90-find-tag-default): New function.
(f90-mode): Use it for mode's `find-tag-default-function' property.
parent d436de97
2011-02-04 Glenn Morris <>
* progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
(f90-mode): Use it for mode's `find-tag-default-function' property.
2011-02-03 Glenn Morris <>
* ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
......@@ -2205,6 +2205,16 @@ CHANGE-WORD should be one of 'upcase-word, 'downcase-word, 'capitalize-word."
(nth 1 (f90-beginning-of-subprogram))))
(defun f90-find-tag-default ()
"Function to use for `find-tag-default-function' property in F90 mode."
(let ((tag (find-tag-default)))
(or (and tag
;; See bug#7919. TODO I imagine there are other cases...?
(string-match "%\\(.+\\)" tag)
(match-string-no-properties 1 tag))
(put 'f90-mode 'find-tag-default-function 'f90-find-tag-default)
(defun f90-backslash-not-special (&optional all)
"Make the backslash character (\\) be non-special in the current buffer.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment