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
636004b9
Commit
636004b9
authored
Oct 27, 2004
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(elide-head): Change error to message.
(elide-head-show): Likewise.
parent
b965722b
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 @
636004b9
...
...
@@ -98,7 +98,7 @@ This is suitable as an entry on `find-file-hook' or appropriate mode hooks."
(
if
rest
(
setq
rest
(
cdr
rest
))))
(
if
(
not
(
and
beg
end
))
(
if
(
interactive-p
)
(
error
"No header found"
))
(
message
"No header found"
))
(
goto-char
beg
)
(
end-of-line
)
(
if
(
overlayp
elide-head-overlay
)
...
...
@@ -115,7 +115,7 @@ This is suitable as an entry on `find-file-hook' or appropriate mode hooks."
(
overlay-buffer
elide-head-overlay
))
(
delete-overlay
elide-head-overlay
)
(
if
(
interactive-p
)
(
error
"No header hidden"
))))
(
message
"No header hidden"
))))
(
provide
'elide-head
)
...
...
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