# HG changeset patch # User Dave Love # Date 947521595 0 # Node ID 7c1aca21377a0c6e56e126431da2dd9f2c9f6c17 # Parent 8fe795290d2f0c372b6ee47d0661b5068608bb49 (elide-head): Use point-marker, not point. diff -r 8fe795290d2f -r 7c1aca21377a lisp/elide-head.el --- a/lisp/elide-head.el Mon Jan 10 13:29:53 2000 +0000 +++ b/lisp/elide-head.el Mon Jan 10 16:26:35 2000 +0000 @@ -93,7 +93,7 @@ (when (re-search-forward (caar rest) nil t) (setq beg (point)) (when (re-search-forward (cdar rest) nil t) - (setq end (point) + (setq end (point-marker) rest nil)))) (if rest (setq rest (cdr rest)))) (if (not (and beg end)) @@ -102,7 +102,7 @@ (goto-char beg) (end-of-line) (if (overlayp elide-head-overlay) - (move-overlay elide-head-overlay (point) end) + (move-overlay elide-head-overlay (point-marker) end) (setq elide-head-overlay (make-overlay (point) end))) (overlay-put elide-head-overlay 'invisible t) (overlay-put elide-head-overlay 'intangible t)