summaryrefslogtreecommitdiff
path: root/lisp/elide-head.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-10-27 17:48:14 +0000
committerRichard M. Stallman <rms@gnu.org>2004-10-27 17:48:14 +0000
commit636004b9726f96516795a3befd028cb73a140a26 (patch)
treeaacf3118f7aa34b17595f1ab1264fc1d820aa71f /lisp/elide-head.el
parentb965722b347d5c2c545e06704b415975c3a679b7 (diff)
downloademacs-636004b9726f96516795a3befd028cb73a140a26.tar.gz
(elide-head): Change error to message.
(elide-head-show): Likewise.
Diffstat (limited to 'lisp/elide-head.el')
-rw-r--r--lisp/elide-head.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/elide-head.el b/lisp/elide-head.el
index 8fc8e12a3fb..fed6ecee7af 100644
--- 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)