diff options
| author | Karoly Lorentey | 2004-11-13 18:34:40 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-11-13 18:34:40 +0000 |
| commit | e417405015c93c81641f5c4a33ec898b5c353772 (patch) | |
| tree | 017a980c35c8a71c372304418d151e3826f88636 /src/keyboard.c | |
| parent | f590a2a442d19f3a74d7bbd02bbcb4e3239f2327 (diff) | |
| parent | 68d1b30d251b4771f739d20f507cd9523ae3919b (diff) | |
| download | emacs-e417405015c93c81641f5c4a33ec898b5c353772.tar.gz emacs-e417405015c93c81641f5c4a33ec898b5c353772.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-673
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-674
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-675
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-676
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-677
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-678
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-679
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-680
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-681
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-682
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-683
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-684
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-685
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-686
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-687
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-688
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-689
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-690
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-691
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-692
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-693
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-69
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-70
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-71
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-267
Diffstat (limited to 'src/keyboard.c')
| -rw-r--r-- | src/keyboard.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 35bfd1402c9..b520d655fb9 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1827,6 +1827,14 @@ command_loop_1 () | |||
| 1827 | 1827 | ||
| 1828 | if (!NILP (current_buffer->mark_active) && !NILP (Vrun_hooks)) | 1828 | if (!NILP (current_buffer->mark_active) && !NILP (Vrun_hooks)) |
| 1829 | { | 1829 | { |
| 1830 | /* Setting transient-mark-mode to `only' is a way of | ||
| 1831 | turning it on for just one command. */ | ||
| 1832 | |||
| 1833 | if (EQ (Vtransient_mark_mode, Qidentity)) | ||
| 1834 | Vtransient_mark_mode = Qnil; | ||
| 1835 | if (EQ (Vtransient_mark_mode, Qonly)) | ||
| 1836 | Vtransient_mark_mode = Qidentity; | ||
| 1837 | |||
| 1830 | if (!NILP (Vdeactivate_mark) && !NILP (Vtransient_mark_mode)) | 1838 | if (!NILP (Vdeactivate_mark) && !NILP (Vtransient_mark_mode)) |
| 1831 | { | 1839 | { |
| 1832 | /* We could also call `deactivate'mark'. */ | 1840 | /* We could also call `deactivate'mark'. */ |
| @@ -1842,16 +1850,6 @@ command_loop_1 () | |||
| 1842 | call1 (Vrun_hooks, intern ("activate-mark-hook")); | 1850 | call1 (Vrun_hooks, intern ("activate-mark-hook")); |
| 1843 | } | 1851 | } |
| 1844 | 1852 | ||
| 1845 | /* Setting transient-mark-mode to `only' is a way of | ||
| 1846 | turning it on for just one command. */ | ||
| 1847 | if (!NILP (current_buffer->mark_active) && !NILP (Vrun_hooks)) | ||
| 1848 | { | ||
| 1849 | if (EQ (Vtransient_mark_mode, Qidentity)) | ||
| 1850 | Vtransient_mark_mode = Qnil; | ||
| 1851 | if (EQ (Vtransient_mark_mode, Qonly)) | ||
| 1852 | Vtransient_mark_mode = Qidentity; | ||
| 1853 | } | ||
| 1854 | |||
| 1855 | finalize: | 1853 | finalize: |
| 1856 | 1854 | ||
| 1857 | if (current_buffer == prev_buffer | 1855 | if (current_buffer == prev_buffer |
| @@ -6640,7 +6638,6 @@ read_avail_input (expected) | |||
| 6640 | if (d->read_socket_hook) | 6638 | if (d->read_socket_hook) |
| 6641 | { | 6639 | { |
| 6642 | int nr; | 6640 | int nr; |
| 6643 | |||
| 6644 | struct input_event hold_quit; | 6641 | struct input_event hold_quit; |
| 6645 | 6642 | ||
| 6646 | EVENT_INIT (hold_quit); | 6643 | EVENT_INIT (hold_quit); |