changeset 85620:b4eec406ec78

(fortran-comment-line-start-skip, fortran-directive-re): Mark these regexps as safe if they are strings.
author Glenn Morris <rgm@gnu.org>
date Thu, 25 Oct 2007 03:57:09 +0000
parents fdebfdb3729e
children 2caa33a3b9ba
files lisp/progmodes/fortran.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/fortran.el	Thu Oct 25 03:53:10 2007 +0000
+++ b/lisp/progmodes/fortran.el	Thu Oct 25 03:57:09 2007 +0000
@@ -162,7 +162,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]*#.*"
@@ -172,7 +172,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."