diff options
| author | Michael Albinus | 2008-08-28 20:35:42 +0000 |
|---|---|---|
| committer | Michael Albinus | 2008-08-28 20:35:42 +0000 |
| commit | 30fe660ede807cdc6ff78241f86dc6d66f8e551d (patch) | |
| tree | 146b117abe993eb1d29ea0221f53abec13117491 | |
| parent | 392b3c3ab604eabb611bacd8b3ccdc665fc80cf7 (diff) | |
| download | emacs-30fe660ede807cdc6ff78241f86dc6d66f8e551d.tar.gz emacs-30fe660ede807cdc6ff78241f86dc6d66f8e551d.zip | |
* net/xesam.el (xesam-kill-buffer-function): Wrap code by
`ignore-errors' (the function must succeed always).
| -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." | |||
| 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. |