aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c8
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,
1467Buffers not visible in windows are preferred to visible buffers, unless 1467Buffers not visible in windows are preferred to visible buffers, unless
1468optional second argument VISIBLE-OK is non-nil. Ignore the argument 1468optional second argument VISIBLE-OK is non-nil. Ignore the argument
1469BUFFER unless it denotes a live buffer. If the optional third argument 1469BUFFER unless it denotes a live buffer. If the optional third argument
1470FRAME is non-nil, use that frame's buffer list instead of the selected 1470FRAME specifies a live frame, then use that frame's buffer list instead
1471frame's buffer list. 1471of the selected frame's buffer list.
1472 1472
1473The buffer is found by scanning the selected or specified frame's buffer 1473The buffer is found by scanning the selected or specified frame's buffer
1474list first, followed by the list of all buffers. If no other buffer 1474list first, followed by the list of all buffers. If no other buffer
1475exists, return the buffer `*scratch*' (creating it if necessary). */) 1475exists, 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
6106location given by the integer. Undoing an entry of this form places 6106location given by the integer. Undoing an entry of this form places
6107point at POSITION. 6107point at POSITION.
6108 6108
6109Entries with value `nil' mark undo boundaries. The undo command treats 6109Entries with value nil mark undo boundaries. The undo command treats
6110the changes between two undo boundaries as a single step to be undone. 6110the changes between two undo boundaries as a single step to be undone.
6111 6111
6112If the value of the variable is t, undo information is not recorded. */); 6112If the value of the variable is t, undo information is not recorded. */);