Mercurial > emacs
comparison lisp/files.el @ 73300:886a80a8e3ee
Mark `buffer-read-only' as safe-local-variable.
author | Reiner Steib <Reiner.Steib@gmx.de> |
---|---|
date | Sun, 08 Oct 2006 11:34:29 +0000 |
parents | 206dafef27e7 |
children | 29316290f939 |
comparison
equal
deleted
inserted
replaced
73299:f569833369f9 | 73300:886a80a8e3ee |
---|---|
2395 ;; Otherwise, when Emacs visits a file specifying that local variable, the | 2395 ;; Otherwise, when Emacs visits a file specifying that local variable, the |
2396 ;; minor mode file may not be loaded yet. | 2396 ;; minor mode file may not be loaded yet. |
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) |
2407 (tab-width . integerp) ;; C source code | 2407 (tab-width . integerp) ;; C source code |
2408 (truncate-lines . booleanp))) ;; C source code | 2408 (truncate-lines . booleanp))) ;; C source code |