Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b88a9e9f
Commit
b88a9e9f
authored
Jan 10, 2000
by
Dave Love
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(elide-head): Use point-marker, not point.
parent
8321b22a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/elide-head.el
lisp/elide-head.el
+2
-2
No files found.
lisp/elide-head.el
View file @
b88a9e9f
...
...
@@ -93,7 +93,7 @@ This is suitable as an entry on `find-file-hooks' or appropriate mode hooks."
(
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 @@ This is suitable as an entry on `find-file-hooks' or appropriate mode hooks."
(
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment