Mercurial > emacs
comparison etc/NEWS @ 68886:7273a522d975
* NEWS: Changes in handling of file local variables.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 14 Feb 2006 14:44:32 +0000 (2006-02-14) |
parents | bf32a9fa6cd9 |
children | eda7236f83b5 9e490faa9f6b |
comparison
equal
deleted
inserted
replaced
68885:bf32a9fa6cd9 | 68886:7273a522d975 |
---|---|
571 is only rarely needed. | 571 is only rarely needed. |
572 | 572 |
573 +++ | 573 +++ |
574 *** In processing a local variables list, Emacs strips the prefix and | 574 *** In processing a local variables list, Emacs strips the prefix and |
575 suffix from every line before processing all the lines. | 575 suffix from every line before processing all the lines. |
576 | |
577 +++ | |
578 *** If the local variables list contains any variable-value pairs that | |
579 are not known to be safe, Emacs shows a prompt asking whether to apply | |
580 the local variables list as a whole. In earlier versions, a prompt | |
581 was only issued for variables explicitly marked as risky (for the | |
582 definition of risky variables, see `risky-local-variable-p'). | |
583 | |
584 At the prompt, the user can choose to save the contents of this local | |
585 variables list to `safe-local-variable-values'. This new customizable | |
586 option is a list of variable-value pairs that are known to be safe. | |
587 Variables can also be marked as safe with the existing | |
588 `safe-local-variable' property (see `safe-local-variable-p'). | |
589 However, risky variables will not be added to | |
590 `safe-local-variable-values' in this way. | |
576 | 591 |
577 +++ | 592 +++ |
578 *** find-file-read-only visits multiple files in read-only mode, | 593 *** find-file-read-only visits multiple files in read-only mode, |
579 when the file name contains wildcard characters. | 594 when the file name contains wildcard characters. |
580 | 595 |