diff options
| author | Gerd Moellmann | 2000-04-28 11:53:43 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-04-28 11:53:43 +0000 |
| commit | c94f4677169587f105e3ee894a19d734a7187546 (patch) | |
| tree | 55db8983f6e059c1122b6b9849cce5c5063f274e /etc | |
| parent | 030106ca73e8167d4d569f6d1615d58189bbffca (diff) | |
| download | emacs-c94f4677169587f105e3ee894a19d734a7187546.tar.gz emacs-c94f4677169587f105e3ee894a19d734a7187546.zip | |
*** empty log message ***
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 23 |
1 files changed, 18 insertions, 5 deletions
| @@ -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 |
| 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 |