From cb1e8a75403c4bc926bdad431b8740cbe03e7da2 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 25 Oct 2007 03:57:09 +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 5ec6e5d92fe..023e285659a 100644 --- a/lisp/progmodes/fortran.el +++ b/lisp/progmodes/fortran.el @@ -162,7 +162,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]*#.*" @@ -172,7 +172,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