aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/net/xesam.el7
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."
779(defun xesam-kill-buffer-function () 779(defun xesam-kill-buffer-function ()
780 "Send the CloseSearch indication." 780 "Send the CloseSearch indication."
781 (when (and (eq major-mode 'xesam-mode) (stringp xesam-search)) 781 (when (and (eq major-mode 'xesam-mode) (stringp xesam-search))
782 (xesam-dbus-call-method 782 (ignore-errors ;; The D-Bus service could have disappeared.
783 :session (car xesam-engine) xesam-path-search 783 (xesam-dbus-call-method
784 xesam-interface-search "CloseSearch" xesam-search))) 784 :session (car xesam-engine) xesam-path-search
785 xesam-interface-search "CloseSearch" xesam-search))))
785 786
786(defun xesam-new-search (engine type query) 787(defun xesam-new-search (engine type query)
787 "Create a new search session. 788 "Create a new search session.