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:
parent
392b3c3ab6
commit
30fe660ede
1 changed files with 4 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue