summaryrefslogtreecommitdiff
path: root/lisp/progmodes/fortran.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-06-11 17:57:24 -0700
committerGlenn Morris <rgm@gnu.org>2011-06-11 17:57:24 -0700
commita8955be718cb1263f7c3bb5987204bfbae85b806 (patch)
tree8de8c50af66427a12f42b0a5a53735994e22e686 /lisp/progmodes/fortran.el
parentf0d4059d8cc11c15b92e6bc816ee8e9cea841355 (diff)
downloademacs-a8955be718cb1263f7c3bb5987204bfbae85b806.tar.gz
Give % punctuation syntax in fortran modes (bug#8820)
* lisp/progmodes/fortran.el (fortran-mode-syntax-table): * lisp/progmodes/f90.el (f90-mode-syntax-table): Set % to punctuation. (f90-find-tag-default): Remove, no longer needed.
Diffstat (limited to 'lisp/progmodes/fortran.el')
-rw-r--r--lisp/progmodes/fortran.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el
index f03d2013467..d30b9673d09 100644
--- a/lisp/progmodes/fortran.el
+++ b/lisp/progmodes/fortran.el
@@ -600,6 +600,7 @@ Used in the Fortran entry in `hs-special-modes-alist'.")
(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.