X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/b88a9e9ffe73217a1e8277993d358f2c4db78a68..a05e2bae0da8cc92a36af09b4035c0b898445709:/lisp/elide-head.el diff --git a/lisp/elide-head.el b/lisp/elide-head.el index cdf72ddda6..9a23e622c4 100644 --- a/lisp/elide-head.el +++ b/lisp/elide-head.el @@ -1,4 +1,4 @@ -;;; elid-head.el --- hide headers in files +;;; elide-head.el --- hide headers in files ;; Copyright (C) 1999 Free Software Foundation, Inc. @@ -103,9 +103,10 @@ 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 'evaporate t) (overlay-put elide-head-overlay 'after-string "..."))))))) (defun elide-head-show ()