# HG changeset patch # User Glenn Morris # Date 1193284641 0 # Node ID 6804b42c465a93c6735d13127d3b6c4de78f7a8c # Parent 648f331ffd07b2db00ff20e7108b74d07a61ccb7 (fortran-comment-line-start-skip, fortran-directive-re): Mark these regexps as safe if they are strings. diff -r 648f331ffd07 -r 6804b42c465a lisp/progmodes/fortran.el --- a/lisp/progmodes/fortran.el Thu Oct 25 03:55:52 2007 +0000 +++ b/lisp/progmodes/fortran.el Thu Oct 25 03:57:21 2007 +0000 @@ -154,7 +154,7 @@ :version "21.1" :type 'regexp :group 'fortran-comment) -;; FIXME is an arbitrary regexp safe? +(put 'fortran-comment-line-start-skip 'safe-local-variable 'stringp) (defcustom fortran-directive-re "^[ \t]*#.*" @@ -164,7 +164,7 @@ :version "22.1" :type 'regexp :group 'fortran-indent) -;; FIXME is an arbitrary regexp safe? +(put 'fortran-directive-re 'safe-local-variable 'stringp) (defcustom fortran-minimum-statement-indent-fixed 6 "*Minimum statement indentation for fixed format continuation style."