aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorGerd Moellmann2000-04-28 11:53:43 +0000
committerGerd Moellmann2000-04-28 11:53:43 +0000
commitc94f4677169587f105e3ee894a19d734a7187546 (patch)
tree55db8983f6e059c1122b6b9849cce5c5063f274e /etc
parent030106ca73e8167d4d569f6d1615d58189bbffca (diff)
downloademacs-c94f4677169587f105e3ee894a19d734a7187546.tar.gz
emacs-c94f4677169587f105e3ee894a19d734a7187546.zip
*** empty log message ***
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS23
1 files changed, 18 insertions, 5 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 720277d0437..4881906f90b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1150,12 +1150,25 @@ so I will know I still need to look at it -- rms.
1150** The function `add-minor-mode' simplifies the definition of minor 1150** The function `add-minor-mode' simplifies the definition of minor
1151modes. 1151modes.
1152 1152
1153- Function: add-minor-mode SYMBOL NAME MAP 1153- Function: add-minor-mode TOGGLE NAME &optional KEYMAP AFTER TOGGLE-FUN
1154 1154
1155Register a new minor mode. SYMBOL is the name of a buffer-local 1155Register a new minor mode.
1156variable that is toggled on or off to say whether the minor mode is 1156
1157active or not. NAME is the string that will appear in the mode line 1157TOGGLE is a symbol which is the name of a buffer-local variable that
1158when the minor mode is active. MAP is the keymap for the minor mode. 1158is toggled on or off to say whether the minor mode is active or not.
1159
1160NAME specifies what will appear in the mode line when the minor mode
1161is active. NAME should be either a string starting with a space, or a
1162symbol whose value is such a string.
1163
1164Optional KEYMAP is the keymap for the minor mode that will be added
1165to `minor-mode-map-alist'.
1166
1167Optional AFTER specifies that TOGGLE should be added after AFTER
1168in `minor-mode-alist'.
1169
1170Optional TOGGLE-FUN is there for compatiblity with other Emacssen.
1171It is currently not used.
1159 1172
1160** The function `shell-command' now sets the default directory of the 1173** The function `shell-command' now sets the default directory of the
1161`*Shell Command Output*' buffer to the default directory of the buffer 1174`*Shell Command Output*' buffer to the default directory of the buffer