Mercurial > emacs
comparison etc/NEWS @ 104318:eb3f2c155d07
Note that specifying a minor mode as a local variables enables that
mode.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 17 Aug 2009 23:50:26 +0000 |
parents | 5565b37343b9 |
children | 7d0f4f179b3d |
comparison
equal
deleted
inserted
replaced
104317:af13b0630b54 | 104318:eb3f2c155d07 |
---|---|
71 source while in the midst of loading another file (e.g., with | 71 source while in the midst of loading another file (e.g., with |
72 `require' or `autoload') could cause the value of `load-in-progress' | 72 `require' or `autoload') could cause the value of `load-in-progress' |
73 to be corrupted once the outer load completed. Most code doesn't care | 73 to be corrupted once the outer load completed. Most code doesn't care |
74 about this, but some (like c-mode) may check it. | 74 about this, but some (like c-mode) may check it. |
75 | 75 |
76 ** New command to add a file-local variable to the "Local Variables" list | 76 ** File-local variable changes |
77 in the current buffer is `add-file-local-variable'. New command to remove | 77 |
78 a file-local variable from the "Local Variables" list is | 78 *** Specifying a minor mode as a local variables enables that mode, |
79 `delete-file-local-variable'. New commands to add/remove a file-local | 79 unconditionally. The previous behavior, toggling the mode, was |
80 variable to/from the -*- line at the beginning of the buffer are | 80 neither reliable nor generally desirable. |
81 `add-file-local-variable-prop-line' and `delete-file-local-variable-prop-line'. | 81 |
82 New commands to add/remove a directory-local variable to/from the | 82 *** New commands for adding and removing file-local variables: |
83 .dir-locals.el file are `add-dir-local-variable' and | 83 `add-file-local-variable', `delete-file-local-variable', |
84 `delete-dir-local-variable'. New commands to copy directory-local | 84 `add-file-local-variable-prop-line', and |
85 variables to file-local variables in the "Local Variables" list or the | 85 `delete-file-local-variable-prop-line'. |
86 -*- line and vice versa are `copy-dir-locals-to-file-locals', | 86 |
87 *** New commands for adding and removing directory-local variables, | |
88 and copying them to and from file-local variable lists: | |
89 `add-dir-local-variable', `delete-dir-local-variable', | |
90 `copy-dir-locals-to-file-locals', | |
87 `copy-dir-locals-to-file-locals-prop-line' and | 91 `copy-dir-locals-to-file-locals-prop-line' and |
88 `copy-file-locals-to-dir-locals'. | 92 `copy-file-locals-to-dir-locals'. |
89 | 93 |
90 ** New coding system `utf-8-hfs' is available in | 94 ** New coding system `utf-8-hfs' is available in |
91 international/ucs-normalize.el. It is suitable for | 95 international/ucs-normalize.el. It is suitable for |