From: Richard M. Stallman Date: Wed, 27 Oct 2004 17:48:14 +0000 (+0000) Subject: (elide-head): Change error to message. X-Git-Tag: ttn-vms-21-2-B4~4353 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=636004b9726f96516795a3befd028cb73a140a26;p=emacs.git (elide-head): Change error to message. (elide-head-show): Likewise. --- 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)