summaryrefslogtreecommitdiff
path: root/lisp/elide-head.el
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-02-02 14:27:03 +0000
committerDave Love <fx@gnu.org>2000-02-02 14:27:03 +0000
commitb74ce5c2bd096f90238217f67973f6d0f0920739 (patch)
tree10ce63999c82cebb65402ebe55a51fa5dba6a991 /lisp/elide-head.el
parent3ea96cacd5cfffa0f535199924daa48c30894858 (diff)
downloademacs-b74ce5c2bd096f90238217f67973f6d0f0920739.tar.gz
(elide-head): Use point-marker more.
Diffstat (limited to 'lisp/elide-head.el')
-rw-r--r--lisp/elide-head.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/elide-head.el b/lisp/elide-head.el
index cdf72ddda6b..50c77684ae5 100644
--- a/lisp/elide-head.el
+++ b/lisp/elide-head.el
@@ -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 "...")))))))