diff options
author | Miles Bader <miles@gnu.org> | 2004-08-27 07:00:34 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2004-08-27 07:00:34 +0000 |
commit | b71f2b97d343dd5ec39b64b66de86051ee47eb3e (patch) | |
tree | 85e3d906c7ba13a3fd447ad054a430388386b748 /src/intervals.c | |
parent | 21b4a4fb21f6254fb37da88b0d5858575f953e22 (diff) | |
parent | 11d2e01ba3a82c41eec105df81260568f048e726 (diff) | |
download | emacs-b71f2b97d343dd5ec39b64b66de86051ee47eb3e.tar.gz |
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-32
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-486
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-487
Tweak permissions
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-488
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-489
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-490
Update from CVS: man/fixit.texi (Spelling): Fix typo.
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-491
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-494
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-495
Update from CVS: Add missing lisp/mh-e files
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-496
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-499
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-500
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-513
Update from CVS
Diffstat (limited to 'src/intervals.c')
-rw-r--r-- | src/intervals.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intervals.c b/src/intervals.c index ade15360c9f..4a9b51f7e7e 100644 --- a/src/intervals.c +++ b/src/intervals.c @@ -2275,6 +2275,10 @@ move_if_not_intangible (position) pos = Fnext_char_property_change (pos, Qnil); } + else if (position < BEGV) + position = BEGV; + else if (position > ZV) + position = ZV; /* If the whole stretch between PT and POSITION isn't intangible, try moving to POSITION (which means we actually move farther |