diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2008-04-02 20:15:11 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2008-04-02 20:15:11 +0000 |
commit | 526c9df9420a75c37bdb2cf2901c2919d4c5edd4 (patch) | |
tree | bc2afe1de7401da0c6e33cf771f5835d219f74b2 /src/buffer.c | |
parent | 025ae9533de941cd045374c1639d20e9b830284a (diff) | |
download | emacs-526c9df9420a75c37bdb2cf2901c2919d4c5edd4.tar.gz emacs-526c9df9420a75c37bdb2cf2901c2919d4c5edd4.tar.bz2 emacs-526c9df9420a75c37bdb2cf2901c2919d4c5edd4.zip |
(Vtransient_mark_mode): Move docstring to simple.el to
avoid clobbering by define-minor-mode.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/buffer.c b/src/buffer.c index 021867c0efa..8ab1af01f31 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -6200,18 +6200,11 @@ to the value obtained by calling `current-time'. If the buffer has never been shown in a window, the value is nil. */); DEFVAR_LISP ("transient-mark-mode", &Vtransient_mark_mode, - doc: /* *Non-nil means deactivate the mark when the buffer contents change. -Non-nil also enables highlighting of the region whenever the mark is active. -The variable `highlight-nonselected-windows' controls whether to highlight -all windows or just the selected window. - -If the value is `lambda', that enables Transient Mark mode temporarily -until the next buffer modification. If a command sets the value to `only', -that enables Transient Mark mode for the following command only. -During that following command, the value of `transient-mark-mode' -is `identity'. If it is still `identity' at the end of that command, -it changes to nil. */); + doc: /* */); Vtransient_mark_mode = Qnil; + /* The docstring is in simple.el. If we put it here, it would be + overwritten when transient-mark-mode is defined using + define-minor-mode. */ DEFVAR_LISP ("inhibit-read-only", &Vinhibit_read_only, doc: /* *Non-nil means disregard read-only status of buffers or characters. |