aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2007-10-25 03:57:21 +0000
committerGlenn Morris <[email protected]>2007-10-25 03:57:21 +0000
commitbe6a2f1a5a8ddc64a90fd9bca509489113f2639c (patch)
tree2b019ea45eb418163e67ca28cf0779f6d7f103fd
parentc8da8483a348f3eaa61f4197f283b7d92a42c513 (diff)
(fortran-comment-line-start-skip, fortran-directive-re):
Mark these regexps as safe if they are strings.
-rw-r--r--lisp/progmodes/fortran.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el
index 9e38f9aa32..f58318c2a3 100644
--- a/lisp/progmodes/fortran.el
+++ b/lisp/progmodes/fortran.el
@@ -154,7 +154,7 @@ You might want to change this to \"*\", for instance."
: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 @@ The matching line will be given zero indentation."
: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."