aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorEli Zaretskii2017-06-17 19:03:30 +0300
committerEli Zaretskii2017-06-17 19:03:30 +0300
commitf8cc7a83006e520e6dce3c64df6dca010624299f (patch)
treeddcc4f8a15621647c09ec0a6aafcb95cb522e810 /src/editfns.c
parent61dc103969fce1a0bf179e9e799d1feba128b525 (diff)
downloademacs-f8cc7a83006e520e6dce3c64df6dca010624299f.tar.gz
emacs-f8cc7a83006e520e6dce3c64df6dca010624299f.zip
Improve documentation of replace-buffer-contents
* etc/NEWS (replace-buffer-contents): Fix formatting. * src/editfns.c (Freplace_buffer_contents): Doc fix.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c
index e8ad83e29b8..f0c4593742d 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -3140,7 +3140,9 @@ static bool buffer_chars_equal (struct context *, OFFSET, OFFSET);
3140 3140
3141DEFUN ("replace-buffer-contents", Freplace_buffer_contents, 3141DEFUN ("replace-buffer-contents", Freplace_buffer_contents,
3142 Sreplace_buffer_contents, 1, 1, "bSource buffer: ", 3142 Sreplace_buffer_contents, 1, 1, "bSource buffer: ",
3143 doc: /* Replace accessible portion of the current buffer with accessible portion of SOURCE. 3143 doc: /* Replace accessible portion of current buffer with that of SOURCE.
3144SOURCE can be a buffer or a string that names a buffer.
3145Interactively, prompt for SOURCE.
3144As far as possible the replacement is non-destructive, i.e. existing 3146As far as possible the replacement is non-destructive, i.e. existing
3145buffer contents, markers, properties, and overlays in the current 3147buffer contents, markers, properties, and overlays in the current
3146buffer stay intact. */) 3148buffer stay intact. */)