diff options
| author | Joakim Verona | 2011-12-28 04:12:56 +0100 |
|---|---|---|
| committer | Joakim Verona | 2011-12-28 04:12:56 +0100 |
| commit | bb29f044aa967831cd664c54eba0de0c701436ce (patch) | |
| tree | 1398cc9780bbae0fdad071a3a3765a571c3f6d7b /src/window.c | |
| parent | 3c935a7e996701244d166f684119f0ff97e25496 (diff) | |
| parent | 5e605a2e528955721fc6f2bd7b9f174c15075fb1 (diff) | |
| download | emacs-bb29f044aa967831cd664c54eba0de0c701436ce.tar.gz emacs-bb29f044aa967831cd664c54eba0de0c701436ce.zip | |
upstream i think
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c index 728e811f304..86fcca25f2e 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -1054,6 +1054,7 @@ window_relative_x_coord (struct window *w, enum window_part part, int x) | |||
| 1054 | DEFUN ("coordinates-in-window-p", Fcoordinates_in_window_p, | 1054 | DEFUN ("coordinates-in-window-p", Fcoordinates_in_window_p, |
| 1055 | Scoordinates_in_window_p, 2, 2, 0, | 1055 | Scoordinates_in_window_p, 2, 2, 0, |
| 1056 | doc: /* Return non-nil if COORDINATES are in WINDOW. | 1056 | doc: /* Return non-nil if COORDINATES are in WINDOW. |
| 1057 | WINDOW must be a live window. | ||
| 1057 | COORDINATES is a cons of the form (X . Y), X and Y being distances | 1058 | COORDINATES is a cons of the form (X . Y), X and Y being distances |
| 1058 | measured in characters from the upper-left corner of the frame. | 1059 | measured in characters from the upper-left corner of the frame. |
| 1059 | \(0 . 0) denotes the character in the upper left corner of the | 1060 | \(0 . 0) denotes the character in the upper left corner of the |
| @@ -1075,7 +1076,7 @@ If they are in the windows's left or right marginal areas, `left-margin'\n\ | |||
| 1075 | int x, y; | 1076 | int x, y; |
| 1076 | Lisp_Object lx, ly; | 1077 | Lisp_Object lx, ly; |
| 1077 | 1078 | ||
| 1078 | CHECK_WINDOW (window); | 1079 | CHECK_LIVE_WINDOW (window); |
| 1079 | w = XWINDOW (window); | 1080 | w = XWINDOW (window); |
| 1080 | f = XFRAME (w->frame); | 1081 | f = XFRAME (w->frame); |
| 1081 | CHECK_CONS (coordinates); | 1082 | CHECK_CONS (coordinates); |
| @@ -3089,7 +3090,7 @@ This function runs `window-scroll-functions' before running | |||
| 3089 | error ("Window is dedicated to `%s'", SDATA (BVAR (XBUFFER (tem), name))); | 3090 | error ("Window is dedicated to `%s'", SDATA (BVAR (XBUFFER (tem), name))); |
| 3090 | else | 3091 | else |
| 3091 | /* WINDOW is weakly dedicated to its buffer, reset | 3092 | /* WINDOW is weakly dedicated to its buffer, reset |
| 3092 | dedicatedness. */ | 3093 | dedication. */ |
| 3093 | w->dedicated = Qnil; | 3094 | w->dedicated = Qnil; |
| 3094 | 3095 | ||
| 3095 | call1 (Qrecord_window_buffer, window); | 3096 | call1 (Qrecord_window_buffer, window); |
| @@ -6303,7 +6304,7 @@ freeze_window_starts (struct frame *f, int freeze_p) | |||
| 6303 | ignore_positions non-zero means ignore non-matching scroll positions | 6304 | ignore_positions non-zero means ignore non-matching scroll positions |
| 6304 | and the like. | 6305 | and the like. |
| 6305 | 6306 | ||
| 6306 | This ignores a couple of things like the dedicatedness status of | 6307 | This ignores a couple of things like the dedication status of |
| 6307 | window, combination_limit and the like. This might have to be | 6308 | window, combination_limit and the like. This might have to be |
| 6308 | fixed. */ | 6309 | fixed. */ |
| 6309 | 6310 | ||