diff options
| author | Stefan Monnier | 2001-09-04 01:02:16 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-09-04 01:02:16 +0000 |
| commit | 31ac723b3940257494af1eca3afd2feaac5534e1 (patch) | |
| tree | 47b06d77c565e4dc900615aaf64ce394f5e0a16d /src | |
| parent | 698ee07c9060a236f8669f90ed1292c10867bcf1 (diff) | |
| download | emacs-31ac723b3940257494af1eca3afd2feaac5534e1.tar.gz emacs-31ac723b3940257494af1eca3afd2feaac5534e1.zip | |
(handle_single_display_prop): Fix for int/Lisp_Object mixup.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 8b3fc8ea654..4e4f54f1d3d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -2824,10 +2824,10 @@ handle_single_display_prop (it, prop, object, position, | |||
| 2824 | object where the property was found, and `buffer-position' | 2824 | object where the property was found, and `buffer-position' |
| 2825 | to the current position in the buffer. */ | 2825 | to the current position in the buffer. */ |
| 2826 | specbind (Qobject, object); | 2826 | specbind (Qobject, object); |
| 2827 | specbind (Qposition, CHARPOS (*position)); | 2827 | specbind (Qposition, make_number (CHARPOS (*position))); |
| 2828 | specbind (Qbuffer_position, (STRINGP (object) | 2828 | specbind (Qbuffer_position, |
| 2829 | ? make_number (IT_CHARPOS (*it)) | 2829 | make_number (STRINGP (object) |
| 2830 | : make_number (CHARPOS (*position)))); | 2830 | ? IT_CHARPOS (*it) : CHARPOS (*position))); |
| 2831 | GCPRO1 (form); | 2831 | GCPRO1 (form); |
| 2832 | form = safe_eval (form); | 2832 | form = safe_eval (form); |
| 2833 | UNGCPRO; | 2833 | UNGCPRO; |