Mercurial > emacs
comparison src/xdisp.c @ 43595:b7964dae2379
(minibuf_selected_window): Renamed from Vminibuf_selected_window.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 28 Feb 2002 22:09:53 +0000 |
parents | 250eb7f4849d |
children | 49dc01d3bc00 |
comparison
equal
deleted
inserted
replaced
43594:23cddac4d0b7 | 43595:b7964dae2379 |
---|---|
1580 /* Or show region in the selected window. */ | 1580 /* Or show region in the selected window. */ |
1581 || w == XWINDOW (selected_window) | 1581 || w == XWINDOW (selected_window) |
1582 /* Or show the region if we are in the mini-buffer and W is | 1582 /* Or show the region if we are in the mini-buffer and W is |
1583 the window the mini-buffer refers to. */ | 1583 the window the mini-buffer refers to. */ |
1584 || (MINI_WINDOW_P (XWINDOW (selected_window)) | 1584 || (MINI_WINDOW_P (XWINDOW (selected_window)) |
1585 && WINDOWP (Vminibuf_selected_window) | 1585 && WINDOWP (minibuf_selected_window) |
1586 && w == XWINDOW (Vminibuf_selected_window)))) | 1586 && w == XWINDOW (minibuf_selected_window)))) |
1587 { | 1587 { |
1588 int charpos = marker_position (current_buffer->mark); | 1588 int charpos = marker_position (current_buffer->mark); |
1589 it->region_beg_charpos = min (PT, charpos); | 1589 it->region_beg_charpos = min (PT, charpos); |
1590 it->region_end_charpos = max (PT, charpos); | 1590 it->region_end_charpos = max (PT, charpos); |
1591 } | 1591 } |