# HG changeset patch # User Richard M. Stallman # Date 1098899294 0 # Node ID d2b6a6d18cc95aa9747265f87d59b009498e9dd8 # Parent 5d7aec33a1bafa13691423ef39185d1a2330bf18 (elide-head): Change error to message. (elide-head-show): Likewise. diff -r 5d7aec33a1ba -r d2b6a6d18cc9 lisp/elide-head.el --- a/lisp/elide-head.el Wed Oct 27 17:46:33 2004 +0000 +++ b/lisp/elide-head.el Wed Oct 27 17:48:14 2004 +0000 @@ -98,7 +98,7 @@ (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 @@ (overlay-buffer elide-head-overlay)) (delete-overlay elide-head-overlay) (if (interactive-p) - (error "No header hidden")))) + (message "No header hidden")))) (provide 'elide-head)