changeset 79218:6804b42c465a

(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:21 +0000
parents 648f331ffd07
children b892c8b20287
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: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."