diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/net/xesam.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/net/xesam.el b/lisp/net/xesam.el index a877dbf4940..3883d8553c3 100644 --- a/lisp/net/xesam.el +++ b/lisp/net/xesam.el @@ -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. |