diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c index b09676c438d..148d077ec21 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1467,15 +1467,15 @@ DEFUN ("other-buffer", Fother_buffer, Sother_buffer, 0, 3, 0, | |||
| 1467 | Buffers not visible in windows are preferred to visible buffers, unless | 1467 | Buffers not visible in windows are preferred to visible buffers, unless |
| 1468 | optional second argument VISIBLE-OK is non-nil. Ignore the argument | 1468 | optional second argument VISIBLE-OK is non-nil. Ignore the argument |
| 1469 | BUFFER unless it denotes a live buffer. If the optional third argument | 1469 | BUFFER unless it denotes a live buffer. If the optional third argument |
| 1470 | FRAME is non-nil, use that frame's buffer list instead of the selected | 1470 | FRAME specifies a live frame, then use that frame's buffer list instead |
| 1471 | frame's buffer list. | 1471 | of the selected frame's buffer list. |
| 1472 | 1472 | ||
| 1473 | The buffer is found by scanning the selected or specified frame's buffer | 1473 | The buffer is found by scanning the selected or specified frame's buffer |
| 1474 | list first, followed by the list of all buffers. If no other buffer | 1474 | list first, followed by the list of all buffers. If no other buffer |
| 1475 | exists, return the buffer `*scratch*' (creating it if necessary). */) | 1475 | exists, return the buffer `*scratch*' (creating it if necessary). */) |
| 1476 | (Lisp_Object buffer, Lisp_Object visible_ok, Lisp_Object frame) | 1476 | (Lisp_Object buffer, Lisp_Object visible_ok, Lisp_Object frame) |
| 1477 | { | 1477 | { |
| 1478 | struct frame *f = decode_any_frame (frame); | 1478 | struct frame *f = decode_live_frame (frame); |
| 1479 | Lisp_Object tail = f->buffer_list, pred = f->buffer_predicate; | 1479 | Lisp_Object tail = f->buffer_list, pred = f->buffer_predicate; |
| 1480 | Lisp_Object buf, notsogood = Qnil; | 1480 | Lisp_Object buf, notsogood = Qnil; |
| 1481 | 1481 | ||