Mercurial > emacs
changeset 79220:7348eddedaed
(f90-indented-comment-re, f90-directive-comment-re)
(f90-break-delimiters): Mark these regexps as safe if they are strings.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 25 Oct 2007 04:00:42 +0000 |
parents | b892c8b20287 |
children | dea51733fd48 |
files | lisp/progmodes/f90.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/f90.el Thu Oct 25 03:59:26 2007 +0000 +++ b/lisp/progmodes/f90.el Thu Oct 25 04:00:42 2007 +0000 @@ -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 @@ 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."