aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1998-04-23 04:09:05 +0000
committerRichard M. Stallman1998-04-23 04:09:05 +0000
commit24d6bf2685a6b916e34a4d61ed3c3fe0412de86f (patch)
tree6b03c9c859144dd34789fa0f00495df9e7babf61 /src
parenta6ee6aa41bb1ca140fdbc91c7d72c783bdc9f312 (diff)
downloademacs-24d6bf2685a6b916e34a4d61ed3c3fe0412de86f.tar.gz
emacs-24d6bf2685a6b916e34a4d61ed3c3fe0412de86f.zip
(Fbuffer_substring): Doc fix.
(Finsert_and_inherit_before_markers): Doc fix. (Finsert_and_inherit, Finsert_before_markers, Finsert): Doc fixes.
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c38
1 files changed, 28 insertions, 10 deletions
diff --git a/src/editfns.c b/src/editfns.c
index b007cbef83d..32224866a5c 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -1328,9 +1328,14 @@ insert1 (arg)
1328 1328
1329DEFUN ("insert", Finsert, Sinsert, 0, MANY, 0, 1329DEFUN ("insert", Finsert, Sinsert, 0, MANY, 0,
1330 "Insert the arguments, either strings or characters, at point.\n\ 1330 "Insert the arguments, either strings or characters, at point.\n\
1331Point and before-insertion-markers move forward so that it ends up\n\ 1331Point and before-insertion markers move forward to end up\n\
1332 after the inserted text.\n\ 1332 after the inserted text.\n\
1333Any other markers at the point of insertion remain before the text.") 1333Any other markers at the point of insertion remain before the text.\n\
1334\n\
1335If the current buffer is multibyte, unibyte strings are converted\n\
1336to multibyte for insertion (see `unibyte-char-to-multibyte').\n\
1337If the current buffer is unibyte, multiibyte strings are converted\n\
1338to unibyte for insertion.")
1334 (nargs, args) 1339 (nargs, args)
1335 int nargs; 1340 int nargs;
1336 register Lisp_Object *args; 1341 register Lisp_Object *args;
@@ -1342,9 +1347,14 @@ Any other markers at the point of insertion remain before the text.")
1342DEFUN ("insert-and-inherit", Finsert_and_inherit, Sinsert_and_inherit, 1347DEFUN ("insert-and-inherit", Finsert_and_inherit, Sinsert_and_inherit,
1343 0, MANY, 0, 1348 0, MANY, 0,
1344 "Insert the arguments at point, inheriting properties from adjoining text.\n\ 1349 "Insert the arguments at point, inheriting properties from adjoining text.\n\
1345Point and before-insertion-markers move forward so that it ends up\n\ 1350Point and before-insertion markers move forward to end up\n\
1346 after the inserted text.\n\ 1351 after the inserted text.\n\
1347Any other markers at the point of insertion remain before the text.") 1352Any other markers at the point of insertion remain before the text.\n\
1353\n\
1354If the current buffer is multibyte, unibyte strings are converted\n\
1355to multibyte for insertion (see `unibyte-char-to-multibyte').\n\
1356If the current buffer is unibyte, multiibyte strings are converted\n\
1357to unibyte for insertion.")
1348 (nargs, args) 1358 (nargs, args)
1349 int nargs; 1359 int nargs;
1350 register Lisp_Object *args; 1360 register Lisp_Object *args;
@@ -1356,9 +1366,12 @@ Any other markers at the point of insertion remain before the text.")
1356 1366
1357DEFUN ("insert-before-markers", Finsert_before_markers, Sinsert_before_markers, 0, MANY, 0, 1367DEFUN ("insert-before-markers", Finsert_before_markers, Sinsert_before_markers, 0, MANY, 0,
1358 "Insert strings or characters at point, relocating markers after the text.\n\ 1368 "Insert strings or characters at point, relocating markers after the text.\n\
1359Point and before-insertion-markers move forward so that it ends up\n\ 1369Point and markers move forward to end up after the inserted text.\n\
1360 after the inserted text.\n\ 1370\n\
1361Any other markers at the point of insertion also end up after the text.") 1371If the current buffer is multibyte, unibyte strings are converted\n\
1372to multibyte for insertion (see `unibyte-char-to-multibyte').\n\
1373If the current buffer is unibyte, multiibyte strings are converted\n\
1374to unibyte for insertion.")
1362 (nargs, args) 1375 (nargs, args)
1363 int nargs; 1376 int nargs;
1364 register Lisp_Object *args; 1377 register Lisp_Object *args;
@@ -1372,8 +1385,12 @@ Any other markers at the point of insertion also end up after the text.")
1372DEFUN ("insert-before-markers-and-inherit", Finsert_and_inherit_before_markers, 1385DEFUN ("insert-before-markers-and-inherit", Finsert_and_inherit_before_markers,
1373 Sinsert_and_inherit_before_markers, 0, MANY, 0, 1386 Sinsert_and_inherit_before_markers, 0, MANY, 0,
1374 "Insert text at point, relocating markers and inheriting properties.\n\ 1387 "Insert text at point, relocating markers and inheriting properties.\n\
1375Point moves forward so that it ends up after the inserted text.\n\ 1388Point and markers move forward to end up after the inserted text.\n\
1376Any other markers at the point of insertion also end up after the text.") 1389\n\
1390If the current buffer is multibyte, unibyte strings are converted\n\
1391to multibyte for insertion (see `unibyte-char-to-multibyte').\n\
1392If the current buffer is unibyte, multiibyte strings are converted\n\
1393to unibyte for insertion.")
1377 (nargs, args) 1394 (nargs, args)
1378 int nargs; 1395 int nargs;
1379 register Lisp_Object *args; 1396 register Lisp_Object *args;
@@ -1547,7 +1564,8 @@ update_buffer_properties (start, end)
1547DEFUN ("buffer-substring", Fbuffer_substring, Sbuffer_substring, 2, 2, 0, 1564DEFUN ("buffer-substring", Fbuffer_substring, Sbuffer_substring, 2, 2, 0,
1548 "Return the contents of part of the current buffer as a string.\n\ 1565 "Return the contents of part of the current buffer as a string.\n\
1549The two arguments START and END are character positions;\n\ 1566The two arguments START and END are character positions;\n\
1550they can be in either order.") 1567they can be in either order.\n\
1568The string returned is multibyte if the buffer is multibyte.")
1551 (start, end) 1569 (start, end)
1552 Lisp_Object start, end; 1570 Lisp_Object start, end;
1553{ 1571{