emacs: tree/show remove duplicate function