diff options
| author | Glenn Morris | 2007-10-25 03:57:21 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-10-25 03:57:21 +0000 |
| commit | be6a2f1a5a8ddc64a90fd9bca509489113f2639c (patch) | |
| tree | 2b019ea45eb418163e67ca28cf0779f6d7f103fd | |
| parent | c8da8483a348f3eaa61f4197f283b7d92a42c513 (diff) | |
| download | emacs-be6a2f1a5a8ddc64a90fd9bca509489113f2639c.tar.gz emacs-be6a2f1a5a8ddc64a90fd9bca509489113f2639c.zip | |
(fortran-comment-line-start-skip, fortran-directive-re):
Mark these regexps as safe if they are strings.
| -rw-r--r-- | lisp/progmodes/fortran.el | 4 |
1 files 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." | |||
| 154 | :version "21.1" | 154 | :version "21.1" |
| 155 | :type 'regexp | 155 | :type 'regexp |
| 156 | :group 'fortran-comment) | 156 | :group 'fortran-comment) |
| 157 | ;; FIXME is an arbitrary regexp safe? | 157 | (put 'fortran-comment-line-start-skip 'safe-local-variable 'stringp) |
| 158 | 158 | ||
| 159 | (defcustom fortran-directive-re | 159 | (defcustom fortran-directive-re |
| 160 | "^[ \t]*#.*" | 160 | "^[ \t]*#.*" |
| @@ -164,7 +164,7 @@ The matching line will be given zero indentation." | |||
| 164 | :version "22.1" | 164 | :version "22.1" |
| 165 | :type 'regexp | 165 | :type 'regexp |
| 166 | :group 'fortran-indent) | 166 | :group 'fortran-indent) |
| 167 | ;; FIXME is an arbitrary regexp safe? | 167 | (put 'fortran-directive-re 'safe-local-variable 'stringp) |
| 168 | 168 | ||
| 169 | (defcustom fortran-minimum-statement-indent-fixed 6 | 169 | (defcustom fortran-minimum-statement-indent-fixed 6 |
| 170 | "*Minimum statement indentation for fixed format continuation style." | 170 | "*Minimum statement indentation for fixed format continuation style." |