diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c index d5b204e6923..1a72bf02929 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -203,7 +203,8 @@ except in the case that `enable-multibyte-characters' is nil.") | |||
| 203 | int pos; | 203 | int pos; |
| 204 | unsigned char *p; | 204 | unsigned char *p; |
| 205 | 205 | ||
| 206 | if (MARKERP (position)) | 206 | if (MARKERP (position) |
| 207 | && current_buffer == XMARKER (position)->buffer) | ||
| 207 | { | 208 | { |
| 208 | pos = marker_position (position); | 209 | pos = marker_position (position); |
| 209 | if (pos < BEGV) | 210 | if (pos < BEGV) |