aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorPaul Eggert2012-04-09 15:54:59 -0700
committerPaul Eggert2012-04-09 15:54:59 -0700
commit45e9f7da84c1bd3fc0d36d05c5708ed3b2d3a193 (patch)
tree5bc87a8b5a3c754b8eb44a612cc6c03561d6b968 /src/editfns.c
parent9d6b4d53469a9ffd67bd770fabc6fe254e35c21d (diff)
parent05920a43fc18e696b464387e781e7cfdcea5b5af (diff)
downloademacs-45e9f7da84c1bd3fc0d36d05c5708ed3b2d3a193.tar.gz
emacs-45e9f7da84c1bd3fc0d36d05c5708ed3b2d3a193.zip
Merge from trunk.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/editfns.c b/src/editfns.c
index afd4ed48333..7e7f82c5992 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -658,10 +658,11 @@ is after LIMIT, then LIMIT will be returned instead. */)
658 658
659DEFUN ("constrain-to-field", Fconstrain_to_field, Sconstrain_to_field, 2, 5, 0, 659DEFUN ("constrain-to-field", Fconstrain_to_field, Sconstrain_to_field, 2, 5, 0,
660 doc: /* Return the position closest to NEW-POS that is in the same field as OLD-POS. 660 doc: /* Return the position closest to NEW-POS that is in the same field as OLD-POS.
661
662A field is a region of text with the same `field' property. 661A field is a region of text with the same `field' property.
663If NEW-POS is nil, then the current point is used instead, and set to the 662
664constrained position if that is different. 663If NEW-POS is nil, then use the current point instead, and move point
664to the resulting constrained position, in addition to returning that
665position.
665 666
666If OLD-POS is at the boundary of two fields, then the allowable 667If OLD-POS is at the boundary of two fields, then the allowable
667positions for NEW-POS depends on the value of the optional argument 668positions for NEW-POS depends on the value of the optional argument