diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c index b09676c438d..c78d08c53d2 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 | ||
| @@ -6106,7 +6106,7 @@ An entry of the form POSITION indicates that point was at the buffer | |||
| 6106 | location given by the integer. Undoing an entry of this form places | 6106 | location given by the integer. Undoing an entry of this form places |
| 6107 | point at POSITION. | 6107 | point at POSITION. |
| 6108 | 6108 | ||
| 6109 | Entries with value `nil' mark undo boundaries. The undo command treats | 6109 | Entries with value nil mark undo boundaries. The undo command treats |
| 6110 | the changes between two undo boundaries as a single step to be undone. | 6110 | the changes between two undo boundaries as a single step to be undone. |
| 6111 | 6111 | ||
| 6112 | If the value of the variable is t, undo information is not recorded. */); | 6112 | If the value of the variable is t, undo information is not recorded. */); |