HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b965722
)
(elide-head): Change error to message.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 27 Oct 2004 17:48:14 +0000
(17:48 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 27 Oct 2004 17:48:14 +0000
(17:48 +0000)
(elide-head-show): Likewise.
lisp/elide-head.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/elide-head.el
b/lisp/elide-head.el
index
8fc8e12
..
fed6ece
100644
(file)
--- a/
lisp/elide-head.el
+++ b/
lisp/elide-head.el
@@
-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)