diff options
| author | Joakim Verona | 2012-08-01 13:16:20 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-08-01 13:16:20 +0200 |
| commit | 610ba6f8ddf2298849cad522b6952bc694f0e63f (patch) | |
| tree | 64548d6651c0501eb5838c566a6902d500228b5f /src/keymap.c | |
| parent | 55fa71b3d9bb8609ca3cbb56f92c776ad8724a69 (diff) | |
| parent | 069bac5e5b55c0f63bd2764e727108d2b48b2643 (diff) | |
| download | emacs-610ba6f8ddf2298849cad522b6952bc694f0e63f.tar.gz emacs-610ba6f8ddf2298849cad522b6952bc694f0e63f.zip | |
upstream
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keymap.c b/src/keymap.c index 3c5d45b0680..ed8542249e5 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1560,8 +1560,8 @@ like in the respective argument of `key-binding'. */) | |||
| 1560 | window = POSN_WINDOW (position); | 1560 | window = POSN_WINDOW (position); |
| 1561 | 1561 | ||
| 1562 | if (WINDOWP (window) | 1562 | if (WINDOWP (window) |
| 1563 | && BUFFERP (XWINDOW (window)->buffer) | 1563 | && BUFFERP (WVAR (XWINDOW (window), buffer)) |
| 1564 | && XBUFFER (XWINDOW (window)->buffer) != current_buffer) | 1564 | && XBUFFER (WVAR (XWINDOW (window), buffer)) != current_buffer) |
| 1565 | { | 1565 | { |
| 1566 | /* Arrange to go back to the original buffer once we're done | 1566 | /* Arrange to go back to the original buffer once we're done |
| 1567 | processing the key sequence. We don't use | 1567 | processing the key sequence. We don't use |
| @@ -1573,7 +1573,7 @@ like in the respective argument of `key-binding'. */) | |||
| 1573 | 1573 | ||
| 1574 | record_unwind_protect (Fset_buffer, Fcurrent_buffer ()); | 1574 | record_unwind_protect (Fset_buffer, Fcurrent_buffer ()); |
| 1575 | 1575 | ||
| 1576 | set_buffer_internal (XBUFFER (XWINDOW (window)->buffer)); | 1576 | set_buffer_internal (XBUFFER (WVAR (XWINDOW (window), buffer))); |
| 1577 | } | 1577 | } |
| 1578 | } | 1578 | } |
| 1579 | 1579 | ||