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 4e62464e658..cb0039bb11f 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -338,7 +338,7 @@ Otherwise modify name by appending `<NUMBER>', incrementing NUMBER\n\
338until an unused name is found, and then return that name.\n\ 338until an unused name is found, and then return that name.\n\
339Optional second argument ignore specifies a name that is okay to use\n\ 339Optional second argument ignore specifies a name that is okay to use\n\
340\(if it is in the sequence to be tried)\n\ 340\(if it is in the sequence to be tried)\n\
341even if a buffer with that name exists. 341even if a buffer with that name exists.")
342 (name, ignore) 342 (name, ignore)
343 register Lisp_Object name, ignore; 343 register Lisp_Object name, ignore;
344{ 344{
@@ -831,7 +831,7 @@ the window-buffer correspondences.")
831 : selected_window, 831 : selected_window,
832 buf); 832 buf);
833 833
834 return Qnil; 834 return buf;
835} 835}
836 836
837DEFUN ("pop-to-buffer", Fpop_to_buffer, Spop_to_buffer, 1, 2, 0, 837DEFUN ("pop-to-buffer", Fpop_to_buffer, Spop_to_buffer, 1, 2, 0,
@@ -851,7 +851,7 @@ window even if BUFFER is already visible in the selected window.")
851 Fset_buffer (buf); 851 Fset_buffer (buf);
852 record_buffer (buf); 852 record_buffer (buf);
853 Fselect_window (Fdisplay_buffer (buf, other)); 853 Fselect_window (Fdisplay_buffer (buf, other));
854 return Qnil; 854 return buf;
855} 855}
856 856
857DEFUN ("current-buffer", Fcurrent_buffer, Scurrent_buffer, 0, 0, 0, 857DEFUN ("current-buffer", Fcurrent_buffer, Scurrent_buffer, 0, 0, 0,
@@ -1573,7 +1573,7 @@ buffer.")
1573 b = XBUFFER (buffer); 1573 b = XBUFFER (buffer);
1574 1574
1575 /* If the overlay has changed buffers, do a thorough redisplay. */ 1575 /* If the overlay has changed buffers, do a thorough redisplay. */
1576 if (! EQ (buffer, XMARKER (OVERLAY_START (overlay))->buffer)) 1576 if (b != XMARKER (OVERLAY_START (overlay))->buffer)
1577 windows_or_buffers_changed = 1; 1577 windows_or_buffers_changed = 1;
1578 else 1578 else
1579 /* Redisplay the area the overlay has just left, or just enclosed. */ 1579 /* Redisplay the area the overlay has just left, or just enclosed. */