diff options
| author | Kenichi Handa | 2012-02-02 09:32:12 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2012-02-02 09:32:12 +0900 |
| commit | 159462d4d179b280c6e68775bbf0630c3317c486 (patch) | |
| tree | 2b902518bae6f1b373fe2a21f564a5ff23210a09 /etc | |
| parent | d2a51fd7a1d5d3c8f661c2068120b60e84eca875 (diff) | |
| parent | efc708ecadac41bad29d6ed002af7dccaccc5a97 (diff) | |
| download | emacs-159462d4d179b280c6e68775bbf0630c3317c486.tar.gz emacs-159462d4d179b280c6e68775bbf0630c3317c486.zip | |
merge trunk
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -1290,8 +1290,10 @@ on-the-fly spell checking for comments and strings. | |||
| 1290 | *** New hook `change-major-mode-after-body-hook', run by | 1290 | *** New hook `change-major-mode-after-body-hook', run by |
| 1291 | `run-mode-hooks' just before any other mode hooks. | 1291 | `run-mode-hooks' just before any other mode hooks. |
| 1292 | 1292 | ||
| 1293 | *** Enabled globalized minor modes can be disabled in specific modes, | 1293 | +++ |
| 1294 | by running (FOO-mode-hook 0) via a mode hook. | 1294 | *** Enabled globalized minor modes can be disabled in specific major modes. |
| 1295 | If the global mode is global-FOO-mode, then run (FOO-mode -1) in the | ||
| 1296 | major mode's hook, where FOO-mode toggles the mode on a per-buffer basis. | ||
| 1295 | 1297 | ||
| 1296 | +++ | 1298 | +++ |
| 1297 | *** `define-minor-mode' accepts a new keyword :variable. | 1299 | *** `define-minor-mode' accepts a new keyword :variable. |