]> git.eshelyaron.com Git - emacs.git/commitdiff
(fortran-comment-line-start-skip, fortran-directive-re):
authorGlenn Morris <rgm@gnu.org>
Thu, 25 Oct 2007 03:57:21 +0000 (03:57 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 25 Oct 2007 03:57:21 +0000 (03:57 +0000)
Mark these regexps as safe if they are strings.

lisp/progmodes/fortran.el

index 9e38f9aa32e97f6f2d52b7e60b4aeb7ee9f7cf9d..f58318c2a395aaa5c46258af901460ceea66ca7c 100644 (file)
@@ -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."