diff options
| author | Michael Albinus | 2013-05-23 10:43:18 +0200 |
|---|---|---|
| committer | Michael Albinus | 2013-05-23 10:43:18 +0200 |
| commit | 7764286ea69667380175fe156c4e82bf789a1e09 (patch) | |
| tree | 7fdcabdf5a02a9da30df9c62b30a85aaae99d2ea /lisp/net | |
| parent | 7efe099165836487f8a9276122d9eece1e4514be (diff) | |
| download | emacs-7764286ea69667380175fe156c4e82bf789a1e09.tar.gz emacs-7764286ea69667380175fe156c4e82bf789a1e09.zip | |
* net/tramp-gvfs.el (top):
* net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
when loading package. (Bug#14447)
Diffstat (limited to 'lisp/net')
| -rw-r--r-- | lisp/net/tramp-gvfs.el | 7 | ||||
| -rw-r--r-- | lisp/net/xesam.el | 5 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index 7c3b393873c..16cf0c00bb0 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el | |||
| @@ -150,9 +150,10 @@ | |||
| 150 | ;; Check that GVFS is available. D-Bus integration is available since | 150 | ;; Check that GVFS is available. D-Bus integration is available since |
| 151 | ;; Emacs 23 on some system types. We don't call `dbus-ping', because | 151 | ;; Emacs 23 on some system types. We don't call `dbus-ping', because |
| 152 | ;; this would load dbus.el. | 152 | ;; this would load dbus.el. |
| 153 | (unless (and (tramp-compat-funcall 'dbus-get-unique-name :session) | 153 | (unless (ignore-errors |
| 154 | (or (tramp-compat-process-running-p "gvfs-fuse-daemon") | 154 | (and (tramp-compat-funcall 'dbus-get-unique-name :session) |
| 155 | (tramp-compat-process-running-p "gvfsd-fuse"))) | 155 | (or (tramp-compat-process-running-p "gvfs-fuse-daemon") |
| 156 | (tramp-compat-process-running-p "gvfsd-fuse")))) | ||
| 156 | (tramp-compat-user-error "Package `tramp-gvfs' not supported")) | 157 | (tramp-compat-user-error "Package `tramp-gvfs' not supported")) |
| 157 | 158 | ||
| 158 | (defconst tramp-gvfs-path-mounttracker "/org/gtk/vfs/mounttracker" | 159 | (defconst tramp-gvfs-path-mounttracker "/org/gtk/vfs/mounttracker" |
diff --git a/lisp/net/xesam.el b/lisp/net/xesam.el index 461cadd21ad..bcb16fc45da 100644 --- a/lisp/net/xesam.el +++ b/lisp/net/xesam.el | |||
| @@ -264,8 +264,9 @@ fields are supported.") | |||
| 264 | (declare-function dbus-get-unique-name "dbusbind.c" (bus)) | 264 | (declare-function dbus-get-unique-name "dbusbind.c" (bus)) |
| 265 | 265 | ||
| 266 | (defvar xesam-dbus-unique-names | 266 | (defvar xesam-dbus-unique-names |
| 267 | (list (cons :system (dbus-get-unique-name :system)) | 267 | (ignore-errors |
| 268 | (cons :session (dbus-get-unique-name :session))) | 268 | (list (cons :system (dbus-get-unique-name :system)) |
| 269 | (cons :session (dbus-get-unique-name :session)))) | ||
| 269 | "The unique names, under which Emacs is registered at D-Bus.") | 270 | "The unique names, under which Emacs is registered at D-Bus.") |
| 270 | 271 | ||
| 271 | (defun xesam-dbus-call-method (&rest args) | 272 | (defun xesam-dbus-call-method (&rest args) |