From: ueno Date: Sat, 27 Aug 2005 00:30:28 +0000 (+0000) Subject: * riece-menu.el (riece-menu-uninstall): Call easy-menu-remove. X-Git-Tag: channel-coding-branchpoint~45 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=cf558e1777e8132d734bbea48b1c7bcad38cbf68;p=elisp%2Friece.git * riece-menu.el (riece-menu-uninstall): Call easy-menu-remove. --- diff --git a/lisp/riece-menu.el b/lisp/riece-menu.el index 612b7b0..180792d 100644 --- a/lisp/riece-menu.el +++ b/lisp/riece-menu.el @@ -117,8 +117,8 @@ (defun riece-menu-uninstall () (remove-hook 'riece-command-mode-hook 'riece-menu-command-mode-hook) - ;;FIXME: couldn't uninstall completely. - ) + (with-current-buffer riece-command-buffer + (easy-menu-remove riece-menu))) (provide 'riece-menu)