]> git.eshelyaron.com Git - emacs.git/commitdiff
(f90-indented-comment-re, f90-directive-comment-re)
authorGlenn Morris <rgm@gnu.org>
Thu, 25 Oct 2007 04:00:42 +0000 (04:00 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 25 Oct 2007 04:00:42 +0000 (04:00 +0000)
(f90-break-delimiters): Mark these regexps as safe if they are strings.

lisp/progmodes/f90.el

index 121f1b6cf147aa8ba149eee6186477fa9d3ea797..65d7da3c33ae28e64865ee6e10d05f8e87938281 100644 (file)
   "*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."
@@ -246,7 +246,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."