diff options
| author | Karl Heuer | 1994-09-19 00:16:13 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-09-19 00:16:13 +0000 |
| commit | 254277e15d6906634686a682bfc7a163b20d7be5 (patch) | |
| tree | f99304e36850de87226451461e92cad3d0edcc51 /src | |
| parent | dff36a4234b485a2c74cf5e3eac3505bfbeeccc3 (diff) | |
| download | emacs-254277e15d6906634686a682bfc7a163b20d7be5.tar.gz emacs-254277e15d6906634686a682bfc7a163b20d7be5.zip | |
(direct_output_for_insert, direct_output_forward_char): Fix Lisp_Object
vs. int problems.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 9922574920a..0faabda9298 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -1077,7 +1077,7 @@ direct_output_for_insert (g) | |||
| 1077 | At the moment we only lose at end of line or end of buffer | 1077 | At the moment we only lose at end of line or end of buffer |
| 1078 | and only with faces that have some background */ | 1078 | and only with faces that have some background */ |
| 1079 | /* Instead of wasting time, give up if character has any text properties */ | 1079 | /* Instead of wasting time, give up if character has any text properties */ |
| 1080 | || ! NILP (Ftext_properties_at (XFASTINT (point - 1), Qnil)) | 1080 | || ! NILP (Ftext_properties_at (make_number (point - 1), Qnil)) |
| 1081 | #endif | 1081 | #endif |
| 1082 | 1082 | ||
| 1083 | /* Give up if w is minibuffer and a message is being displayed there */ | 1083 | /* Give up if w is minibuffer and a message is being displayed there */ |
| @@ -1123,7 +1123,7 @@ direct_output_forward_char (n) | |||
| 1123 | { | 1123 | { |
| 1124 | register FRAME_PTR frame = selected_frame; | 1124 | register FRAME_PTR frame = selected_frame; |
| 1125 | register struct window *w = XWINDOW (selected_window); | 1125 | register struct window *w = XWINDOW (selected_window); |
| 1126 | int position; | 1126 | Lisp_Object position; |
| 1127 | int hpos = FRAME_CURSOR_X (frame); | 1127 | int hpos = FRAME_CURSOR_X (frame); |
| 1128 | 1128 | ||
| 1129 | /* Give up if in truncated text at end of line. */ | 1129 | /* Give up if in truncated text at end of line. */ |