Commit b74ce5c2 authored by Dave Love's avatar Dave Love

(elide-head): Use point-marker more.

parent 3ea96cac
......@@ -103,7 +103,7 @@ This is suitable as an entry on `find-file-hooks' or appropriate mode hooks."
(end-of-line)
(if (overlayp elide-head-overlay)
(move-overlay elide-head-overlay (point-marker) end)
(setq elide-head-overlay (make-overlay (point) end)))
(setq elide-head-overlay (make-overlay (point-marker) end)))
(overlay-put elide-head-overlay 'invisible t)
(overlay-put elide-head-overlay 'intangible t)
(overlay-put elide-head-overlay 'after-string "...")))))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment