Mercurial > emacs
comparison etc/NEWS @ 104158:7a65e091e550
Commands to add/delete file/directory-local variables.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Tue, 04 Aug 2009 23:51:32 +0000 |
parents | 4fae1e846339 |
children | 247e736b49ef |
comparison
equal
deleted
inserted
replaced
104157:97530ff78611 | 104158:7a65e091e550 |
---|---|
68 with `let'. In certain situations, loading an Emacs Lisp file from | 68 with `let'. In certain situations, loading an Emacs Lisp file from |
69 source while in the midst of loading another file (e.g., with | 69 source while in the midst of loading another file (e.g., with |
70 `require' or `autoload') could cause the value of `load-in-progress' | 70 `require' or `autoload') could cause the value of `load-in-progress' |
71 to be corrupted once the outer load completed. Most code doesn't care | 71 to be corrupted once the outer load completed. Most code doesn't care |
72 about this, but some (like c-mode) may check it. | 72 about this, but some (like c-mode) may check it. |
73 | |
74 ** New command to add a file-local variable to the "Local Variables" list | |
75 in the current buffer is `add-file-local-variable'. New command to remove | |
76 a file-local variable from the "Local Variables" list is | |
77 `delete-file-local-variable'. New commands to add/remove a file-local | |
78 variable to/from the -*- line at the beginning of the buffer are | |
79 `add-file-local-variable-prop-line' and `delete-file-local-variable-prop-line'. | |
80 New commands to add/remove a directory-local variable to/from the | |
81 .dir-locals.el file are `add-dir-local-variable' and | |
82 `delete-dir-local-variable'. New commands to copy directory-local | |
83 variables to file-local variables in the "Local Variables" list or the | |
84 -*- line and vice versa are `copy-dir-locals-to-file-locals', | |
85 `copy-dir-locals-to-file-locals-prop-line' and | |
86 `copy-file-locals-to-dir-locals'. | |
73 | 87 |
74 | 88 |
75 * Editing Changes in Emacs 23.2 | 89 * Editing Changes in Emacs 23.2 |
76 | 90 |
77 +++ | 91 +++ |