From: Glenn Morris Date: Thu, 25 Oct 2007 04:00:42 +0000 (+0000) Subject: (f90-indented-comment-re, f90-directive-comment-re) X-Git-Tag: emacs-pretest-22.1.90~508 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b21c7071acc5c6f02e6c42e959b9c9227aa71a73;p=emacs.git (f90-indented-comment-re, f90-directive-comment-re) (f90-break-delimiters): Mark these regexps as safe if they are strings. --- diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index 121f1b6cf14..65d7da3c33a 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el @@ -213,13 +213,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." @@ -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."