stuff copied from outline-magic.el deleted (not necessary).