1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

* net/xesam.el (xesam-kill-buffer-function): Wrap code by

`ignore-errors' (the function must succeed always).
This commit is contained in:
Michael Albinus 2008-08-28 20:35:42 +00:00
parent 392b3c3ab6
commit 30fe660ede

View file

@ -779,9 +779,10 @@ Return propertized STRING."
(defun xesam-kill-buffer-function ()
"Send the CloseSearch indication."
(when (and (eq major-mode 'xesam-mode) (stringp xesam-search))
(xesam-dbus-call-method
:session (car xesam-engine) xesam-path-search
xesam-interface-search "CloseSearch" xesam-search)))
(ignore-errors ;; The D-Bus service could have disappeared.
(xesam-dbus-call-method
:session (car xesam-engine) xesam-path-search
xesam-interface-search "CloseSearch" xesam-search))))
(defun xesam-new-search (engine type query)
"Create a new search session.