Mercurial > emacs
comparison src/buffer.c @ 93544:b75140e5e267
(Vtransient_mark_mode): Move docstring to simple.el to
avoid clobbering by define-minor-mode.
| author | Chong Yidong <cyd@stupidchicken.com> |
|---|---|
| date | Wed, 02 Apr 2008 20:15:11 +0000 |
| parents | 87f463ae1530 |
| children | 982b68f17589 |
comparison
equal
deleted
inserted
replaced
| 93543:ae83caf43667 | 93544:b75140e5e267 |
|---|---|
| 6198 The function `set-window-buffer' updates this variable | 6198 The function `set-window-buffer' updates this variable |
| 6199 to the value obtained by calling `current-time'. | 6199 to the value obtained by calling `current-time'. |
| 6200 If the buffer has never been shown in a window, the value is nil. */); | 6200 If the buffer has never been shown in a window, the value is nil. */); |
| 6201 | 6201 |
| 6202 DEFVAR_LISP ("transient-mark-mode", &Vtransient_mark_mode, | 6202 DEFVAR_LISP ("transient-mark-mode", &Vtransient_mark_mode, |
| 6203 doc: /* *Non-nil means deactivate the mark when the buffer contents change. | 6203 doc: /* */); |
| 6204 Non-nil also enables highlighting of the region whenever the mark is active. | |
| 6205 The variable `highlight-nonselected-windows' controls whether to highlight | |
| 6206 all windows or just the selected window. | |
| 6207 | |
| 6208 If the value is `lambda', that enables Transient Mark mode temporarily | |
| 6209 until the next buffer modification. If a command sets the value to `only', | |
| 6210 that enables Transient Mark mode for the following command only. | |
| 6211 During that following command, the value of `transient-mark-mode' | |
| 6212 is `identity'. If it is still `identity' at the end of that command, | |
| 6213 it changes to nil. */); | |
| 6214 Vtransient_mark_mode = Qnil; | 6204 Vtransient_mark_mode = Qnil; |
| 6205 /* The docstring is in simple.el. If we put it here, it would be | |
| 6206 overwritten when transient-mark-mode is defined using | |
| 6207 define-minor-mode. */ | |
| 6215 | 6208 |
| 6216 DEFVAR_LISP ("inhibit-read-only", &Vinhibit_read_only, | 6209 DEFVAR_LISP ("inhibit-read-only", &Vinhibit_read_only, |
| 6217 doc: /* *Non-nil means disregard read-only status of buffers or characters. | 6210 doc: /* *Non-nil means disregard read-only status of buffers or characters. |
| 6218 If the value is t, disregard `buffer-read-only' and all `read-only' | 6211 If the value is t, disregard `buffer-read-only' and all `read-only' |
| 6219 text properties. If the value is a list, disregard `buffer-read-only' | 6212 text properties. If the value is a list, disregard `buffer-read-only' |
