changeset 55976:bb7bcfc53d76

(insert-buffer-substring-no-properties, insert-buffer-substring-as-yank): Doc fixes.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 07 Jun 2004 20:54:42 +0000
parents 594a6cacebfe
children a1a91a32f865
files lisp/subr.el
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/subr.el	Mon Jun 07 20:52:16 2004 +0000
+++ b/lisp/subr.el	Mon Jun 07 20:54:42 2004 +0000
@@ -1339,7 +1339,7 @@
 		(replace-match (format " (default %s)" default) t t prompt 1)
 	      (replace-regexp-in-string "[ \t]*\\'"
 					(format " (default %s) " default)
-					prompt t t)))) 
+					prompt t t))))
     (while
 	(progn
 	  (let ((str (read-from-minibuffer prompt nil nil nil nil
@@ -1708,8 +1708,8 @@
 (defun insert-buffer-substring-no-properties (buffer &optional start end)
   "Insert before point a substring of BUFFER, without text properties.
 BUFFER may be a buffer or a buffer name.
-Arguments START and END are character numbers specifying the substring.
-They default to the beginning and the end of BUFFER."
+Arguments START and END are character positions specifying the substring.
+They default to the values of (point-min) and (point-max) in BUFFER."
   (let ((opoint (point)))
     (insert-buffer-substring buffer start end)
     (let ((inhibit-read-only t))
@@ -1718,8 +1718,8 @@
 (defun insert-buffer-substring-as-yank (buffer &optional start end)
   "Insert before point a part of BUFFER, stripping some text properties.
 BUFFER may be a buffer or a buffer name.
-Arguments START and END are character numbers specifying the substring.
-They default to the beginning and the end of BUFFER.
+Arguments START and END are character positions specifying the substring.
+They default to the values of (point-min) and (point-max) in BUFFER.
 Strip text properties from the inserted text according to
 `yank-excluded-properties'."
   ;; Since the buffer text should not normally have yank-handler properties,