aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2007-10-25 03:58:45 +0000
committerGlenn Morris <[email protected]>2007-10-25 03:58:45 +0000
commitf28af2ae4f5ac23021ee0acff8bdf2e4d442addf (patch)
tree6e12bd4dd604754659b02b76cff12b492f6118f7 /lisp
parent83d674bb11f7935fc552edda46ab01a13e4e3a69 (diff)
(f90-indented-comment-re, f90-directive-comment-re)
(f90-break-delimiters): Mark these regexps as safe if they are strings.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/f90.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el
index c590b1c55b..29ffbcfe6b 100644
--- a/lisp/progmodes/f90.el
+++ b/lisp/progmodes/f90.el
@@ -229,13 +229,13 @@
"Regexp matching comments to indent as code."
:type 'regexp
:group 'f90-indent)
-;; FIXME are arbitrary regexps safe? Only used in looking-at.
+(put 'f90-indented-comment-re 'safe-local-variable 'stringp)
(defcustom f90-directive-comment-re "!hpf\\$"
"Regexp of comment-like directive like \"!HPF\\\\$\", not to be indented."
:type 'regexp
:group 'f90-indent)
-;; FIXME are arbitrary regexps safe? Only used in looking-at.
+(put 'f90-directive-comment-re 'safe-local-variable 'stringp)
(defcustom f90-beginning-ampersand t
"Non-nil gives automatic insertion of \& at start of continuation line."
@@ -262,7 +262,7 @@ matching this regexp that should not be split, and these are
specified by the constant `f90-no-break-re'."
:type 'regexp
:group 'f90)
-;; FIXME are arbitrary regexps safe? Used in re-search-backward.
+(put 'f90-break-delimiters 'safe-local-variable 'stringp)
(defcustom f90-break-before-delimiters t
"Non-nil causes `f90-do-auto-fill' to break lines before delimiters."