From 9460bd47a54b44ef9437f9ff0cbfbe2682c44aee Mon Sep 17 00:00:00 2001 From: John Foerch Date: Thu, 23 Feb 2012 16:13:13 -0500 Subject: [PATCH] switch-to-buffer, bury-buffer, can_kill_last_buffer: reword docstrings --- modules/buffer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/buffer.js b/modules/buffer.js index d1dd341..3e0000a 100644 --- a/modules/buffer.js +++ b/modules/buffer.js @@ -789,7 +789,7 @@ function switch_to_buffer (window, buffer) { window.buffers.current = buffer; } interactive("switch-to-buffer", - "Switch to a buffer specified in the minibuffer.", + "Prompt for a buffer and switch to it.", function (I) { switch_to_buffer( I.window, @@ -801,8 +801,8 @@ interactive("switch-to-buffer", }); define_variable("can_kill_last_buffer", true, - "If this is set to true, kill-buffer can kill the last "+ - "remaining buffer, and close the window."); + "When true, kill-buffer can kill the last buffer in a window, "+ + "and close the window."); function kill_other_buffers (buffer) { if (!buffer) @@ -862,7 +862,7 @@ interactive("read-buffer-kill-buffer", }); interactive("bury-buffer", - "Bury the current buffer.\n Put the current buffer at the end of " + + "Bury the current buffer.\nPut the current buffer at the end of " + "the buffer list, so that it is the least likely buffer to be " + "selected by `switch-to-buffer'.", function (I) { I.window.buffers.bury_buffer(I.buffer); }); -- 2.11.4.GIT