diff options
| author | Reiner Steib | 2006-10-08 11:34:29 +0000 |
|---|---|---|
| committer | Reiner Steib | 2006-10-08 11:34:29 +0000 |
| commit | 1eb1a906aa7d55a74be7f1592086faed6b580468 (patch) | |
| tree | 267312093f0c07703352b80c0be9208e666c2cb4 | |
| parent | bb420759aca8931a39d9edc64e8d0629fc5c9470 (diff) | |
| download | emacs-1eb1a906aa7d55a74be7f1592086faed6b580468.tar.gz emacs-1eb1a906aa7d55a74be7f1592086faed6b580468.zip | |
Mark `buffer-read-only' as safe-local-variable.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/files.el | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f7ff0e8d068..aa7d40ad147 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2006-10-08 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 2 | |||
| 3 | * files.el: Mark `buffer-read-only' as safe-local-variable. | ||
| 4 | |||
| 1 | 2006-10-08 Nick Roberts <nickrob@snap.net.nz> | 5 | 2006-10-08 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 6 | ||
| 3 | * progmodes/gdb-ui.el (gdb-speedbar-expand-node): Burp if | 7 | * progmodes/gdb-ui.el (gdb-speedbar-expand-node): Burp if |
diff --git a/lisp/files.el b/lisp/files.el index 3e2cf2ee92d..1589e2c5998 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -2397,10 +2397,10 @@ asking you for confirmation." | |||
| 2397 | ;; | 2397 | ;; |
| 2398 | ;; For variables defined in the C source code the declaration should go here: | 2398 | ;; For variables defined in the C source code the declaration should go here: |
| 2399 | 2399 | ||
| 2400 | ;; FIXME: Some variables should be moved according to the rules above. | ||
| 2401 | (mapc (lambda (pair) | 2400 | (mapc (lambda (pair) |
| 2402 | (put (car pair) 'safe-local-variable (cdr pair))) | 2401 | (put (car pair) 'safe-local-variable (cdr pair))) |
| 2403 | '((fill-column . integerp) ;; C source code | 2402 | '((buffer-read-only . booleanp) ;; C source code |
| 2403 | (fill-column . integerp) ;; C source code | ||
| 2404 | (indent-tabs-mode . booleanp) ;; C source code | 2404 | (indent-tabs-mode . booleanp) ;; C source code |
| 2405 | (left-margin . integerp) ;; C source code | 2405 | (left-margin . integerp) ;; C source code |
| 2406 | (no-update-autoloads . booleanp) | 2406 | (no-update-autoloads . booleanp) |