From be6a2f1a5a8ddc64a90fd9bca509489113f2639c Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 25 Oct 2007 03:57:21 +0000 Subject: [PATCH] (fortran-comment-line-start-skip, fortran-directive-re): Mark these regexps as safe if they are strings. --- lisp/progmodes/fortran.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el index 9e38f9aa32e..f58318c2a39 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." -- 2.39.2