+2011-06-12 Glenn Morris <rgm@gnu.org>
+
+ * progmodes/fortran.el (fortran-mode-syntax-table):
+ * progmodes/f90.el (f90-mode-syntax-table):
+ Set % to punctuation. (Bug#8820)
+ (f90-find-tag-default): Remove, no longer needed.
+
2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
* emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
(modify-syntax-entry ?= "." table)
(modify-syntax-entry ?* "." table)
(modify-syntax-entry ?/ "." table)
+ (modify-syntax-entry ?% "." table) ; bug#8820
;; I think that the f95 standard leaves the behavior of \
;; unspecified, but that f2k will require it to be non-special.
;; Use `f90-backslash-not-special' to change.
(save-excursion
(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))
- 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.
With optional argument ALL, change the default for all present
(modify-syntax-entry ?= "." table)
(modify-syntax-entry ?* "." table)
(modify-syntax-entry ?/ "." table)
+ (modify-syntax-entry ?% "." table) ; bug#8820
(modify-syntax-entry ?\' "\"" table)
(modify-syntax-entry ?\" "\"" table)
;; Consistent with GNU Fortran's default -- see the manual.