I cant find a way to handle menu generation(by :filter function)
errors.
For example i have a command:
(defun my-cmd ()
(interactive)
(popup-menu (list "test0"
:filter (lambda (a)
(/ nil 0)))))
I specially added an error condition in :filter.
and here is how i tried to handle this error
(condition-case nil
(call-interactively 'my-cmd)
(nil (message "menu failed")))
But this did not worked as i expected it to work.
The thing that i have pretty complicated :filter functions for menus
and they easily can fail, and i need a way to handle such failures.
Thanks!
--
lg