* riece-menu.el (riece-menu-uninstall): Call easy-menu-remove.
authorueno <ueno>
Sat, 27 Aug 2005 00:30:28 +0000 (00:30 +0000)
committerueno <ueno>
Sat, 27 Aug 2005 00:30:28 +0000 (00:30 +0000)
lisp/riece-menu.el

index 612b7b0..180792d 100644 (file)
 (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)