aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJoakim Verona2011-10-27 11:15:25 +0200
committerJoakim Verona2011-10-27 11:15:25 +0200
commitb70516db12801e015c538c4e7eb44cb87316afc4 (patch)
treeb5ed66a971e6f55d0b4628f7a56316b0fa383ddc /etc
parent51a9916f39ce1cd562816a5429bc3cf6f407fabc (diff)
parent435c1d6793ce358f4d2c77c9e9c1ad81fd754651 (diff)
downloademacs-b70516db12801e015c538c4e7eb44cb87316afc4.tar.gz
emacs-b70516db12801e015c538c4e7eb44cb87316afc4.zip
upstream
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS23
1 files changed, 16 insertions, 7 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 58f3fa492e2..9e407133e8b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
1223The prog-mode-hook it defines can be used to enable features for 1224should be derived.
1224programming modes. For example:
1225(add-hook 'prog-mode-hook 'flyspell-prog-mode)
1226enables on the fly spell checking for comments and strings for
1227programming modes.
1228 1225
1229** define-minor-mode accepts a new keyword :variable. 1226**** `prog-mode-hook' can be used to enable features for programming
1227modes, e.g. (add-hook 'prog-mode-hook 'flyspell-prog-mode) to enable
1228on-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,
1234by 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
1355ns-auto-hide-menu-bar. 1364ns-auto-hide-menu-bar.
1356 1365