diff options
| author | Jim Blandy | 1993-07-18 06:23:32 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-07-18 06:23:32 +0000 |
| commit | c02e3004672b0a09de44e55b083afc93b137a7a4 (patch) | |
| tree | bb95497c0c569c84a8ce4de85d3e96863b9a140d /src | |
| parent | 331636c44e8f8a235a0efbb34966bcc3184fb280 (diff) | |
| download | emacs-c02e3004672b0a09de44e55b083afc93b137a7a4.tar.gz emacs-c02e3004672b0a09de44e55b083afc93b137a7a4.zip | |
* dispnew.c (direct_output_for_insert): By the time this function
is called, we have already inserted the character into the buffer;
the proper buffer position to pass to compute_char_face is point
- 1, not point.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index ed392e0eddf..32c89674b44 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -879,7 +879,7 @@ direct_output_for_insert (g) | |||
| 879 | { | 879 | { |
| 880 | #ifdef HAVE_X_WINDOWS | 880 | #ifdef HAVE_X_WINDOWS |
| 881 | int dummy; | 881 | int dummy; |
| 882 | int face = compute_char_face (frame, w, point, -1, -1, &dummy); | 882 | int face = compute_char_face (frame, w, point - 1, -1, -1, &dummy); |
| 883 | #else | 883 | #else |
| 884 | int face = 0; | 884 | int face = 0; |
| 885 | #endif | 885 | #endif |