diff options
| author | Joakim Verona | 2011-10-27 11:15:25 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-10-27 11:15:25 +0200 |
| commit | b70516db12801e015c538c4e7eb44cb87316afc4 (patch) | |
| tree | b5ed66a971e6f55d0b4628f7a56316b0fa383ddc /etc | |
| parent | 51a9916f39ce1cd562816a5429bc3cf6f407fabc (diff) | |
| parent | 435c1d6793ce358f4d2c77c9e9c1ad81fd754651 (diff) | |
| download | emacs-b70516db12801e015c538c4e7eb44cb87316afc4.tar.gz emacs-b70516db12801e015c538c4e7eb44cb87316afc4.zip | |
upstream
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 23 |
1 files changed, 16 insertions, 7 deletions
| @@ -1218,15 +1218,22 @@ syntactic rules. | |||
| 1218 | 1218 | ||
| 1219 | ** frame-local variables cannot be let-bound any more. | 1219 | ** frame-local variables cannot be let-bound any more. |
| 1220 | 1220 | ||
| 1221 | ** Major and minor mode changes | ||
| 1221 | +++ | 1222 | +++ |
| 1222 | ** prog-mode is a new major-mode meant to be the parent of programming mode. | 1223 | *** `prog-mode' is a new major mode from which programming modes |
| 1223 | The prog-mode-hook it defines can be used to enable features for | 1224 | should be derived. |
| 1224 | programming modes. For example: | ||
| 1225 | (add-hook 'prog-mode-hook 'flyspell-prog-mode) | ||
| 1226 | enables on the fly spell checking for comments and strings for | ||
| 1227 | programming modes. | ||
| 1228 | 1225 | ||
| 1229 | ** define-minor-mode accepts a new keyword :variable. | 1226 | **** `prog-mode-hook' can be used to enable features for programming |
| 1227 | modes, e.g. (add-hook 'prog-mode-hook 'flyspell-prog-mode) to enable | ||
| 1228 | on-the-fly spell checking for comments and strings. | ||
| 1229 | |||
| 1230 | *** New hook `change-major-mode-after-body-hook', run by | ||
| 1231 | `run-mode-hooks' just before any other mode hooks. | ||
| 1232 | |||
| 1233 | *** Enabled globalized minor modes can be disabled in specific modes, | ||
| 1234 | by running (FOO-mode-hook 0) via a mode hook. | ||
| 1235 | |||
| 1236 | *** `define-minor-mode' accepts a new keyword :variable. | ||
| 1230 | 1237 | ||
| 1231 | +++ | 1238 | +++ |
| 1232 | ** `delete-file' and `delete-directory' now accept optional arg TRASH. | 1239 | ** `delete-file' and `delete-directory' now accept optional arg TRASH. |
| @@ -1351,6 +1358,8 @@ with the USER_LIBS build variable. | |||
| 1351 | 1358 | ||
| 1352 | ** New make target `dist' to create binary distribution for MS Windows. | 1359 | ** New make target `dist' to create binary distribution for MS Windows. |
| 1353 | 1360 | ||
| 1361 | ** Function `w32-default-color-map' is now obsolete. | ||
| 1362 | |||
| 1354 | ** On Nextstep/OSX, the menu bar can be hidden by customizing | 1363 | ** On Nextstep/OSX, the menu bar can be hidden by customizing |
| 1355 | ns-auto-hide-menu-bar. | 1364 | ns-auto-hide-menu-bar. |
| 1356 | 1365 | ||