diff options
| author | Richard M. Stallman | 1994-07-07 20:34:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-07-07 20:34:55 +0000 |
| commit | 9afa8bf7f4c853a2b8bca164b980d18f465391a6 (patch) | |
| tree | 0fea61e62b6355e6f7a392da57bf7f094f94c460 | |
| parent | 38a31f61d1448a9625ca26ad606730b1c753ea27 (diff) | |
| download | emacs-9afa8bf7f4c853a2b8bca164b980d18f465391a6.tar.gz emacs-9afa8bf7f4c853a2b8bca164b980d18f465391a6.zip | |
(outline-level): Mark it risky.
| -rw-r--r-- | lisp/files.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el index f3486cc9cc2..ff335fe9d60 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -1149,6 +1149,8 @@ If `enable-local-variables' is nil, this function does not check for a | |||
| 1149 | (put 'load-path 'risky-local-variable t) | 1149 | (put 'load-path 'risky-local-variable t) |
| 1150 | (put 'exec-directory 'risky-local-variable t) | 1150 | (put 'exec-directory 'risky-local-variable t) |
| 1151 | (put 'process-environment 'risky-local-variable t) | 1151 | (put 'process-environment 'risky-local-variable t) |
| 1152 | ;; Don't wait for outline.el to be loaded, for the sake of outline-minor-mode. | ||
| 1153 | (put 'outline-level 'risky-local-variable t) | ||
| 1152 | 1154 | ||
| 1153 | (defun hack-one-local-variable-quotep (exp) | 1155 | (defun hack-one-local-variable-quotep (exp) |
| 1154 | (and (consp exp) (eq (car exp) 'quote) (consp (cdr exp)))) | 1156 | (and (consp exp) (eq (car exp) 'quote) (consp (cdr exp)))) |