comparison etc/NEWS @ 28751:6a79bbe8bf72

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Fri, 28 Apr 2000 11:53:43 +0000
parents 6d96f2643b05
children 2fb6dbfe29f6
comparison
equal deleted inserted replaced
28750:4ed5e6dadc6e 28751:6a79bbe8bf72
1148 so I will know I still need to look at it -- rms. 1148 so I will know I still need to look at it -- rms.
1149 1149
1150 ** The function `add-minor-mode' simplifies the definition of minor 1150 ** The function `add-minor-mode' simplifies the definition of minor
1151 modes. 1151 modes.
1152 1152
1153 - Function: add-minor-mode SYMBOL NAME MAP 1153 - Function: add-minor-mode TOGGLE NAME &optional KEYMAP AFTER TOGGLE-FUN
1154 1154
1155 Register a new minor mode. SYMBOL is the name of a buffer-local 1155 Register a new minor mode.
1156 variable that is toggled on or off to say whether the minor mode is 1156
1157 active or not. NAME is the string that will appear in the mode line 1157 TOGGLE is a symbol which is the name of a buffer-local variable that
1158 when the minor mode is active. MAP is the keymap for the minor mode. 1158 is toggled on or off to say whether the minor mode is active or not.
1159
1160 NAME specifies what will appear in the mode line when the minor mode
1161 is active. NAME should be either a string starting with a space, or a
1162 symbol whose value is such a string.
1163
1164 Optional KEYMAP is the keymap for the minor mode that will be added
1165 to `minor-mode-map-alist'.
1166
1167 Optional AFTER specifies that TOGGLE should be added after AFTER
1168 in `minor-mode-alist'.
1169
1170 Optional TOGGLE-FUN is there for compatiblity with other Emacssen.
1171 It 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
1162 from which the command was issued. 1175 from which the command was issued.
1163 1176