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 | |
| 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)
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/net/tramp-gvfs.el | 7 | ||||
| -rw-r--r-- | lisp/net/xesam.el | 5 |
3 files changed, 14 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 44dd2c61b50..a5a3bac231a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-05-23 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * net/tramp-gvfs.el (top): | ||
| 4 | * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors | ||
| 5 | when loading package. (Bug#14447) | ||
| 6 | |||
| 1 | 2013-05-23 Glenn Morris <rgm@gnu.org> | 7 | 2013-05-23 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * progmodes/js.el: No need to load comint when compiling. | 9 | * progmodes/js.el: No need to load comint when compiling. |
| @@ -1373,7 +1379,7 @@ | |||
| 1373 | * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst. | 1379 | * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst. |
| 1374 | (tramp-local-coding-commands, tramp-remote-coding-commands): Use them. | 1380 | (tramp-local-coding-commands, tramp-remote-coding-commands): Use them. |
| 1375 | (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region): | 1381 | (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region): |
| 1376 | (tramp-find-inline-compress):Improve traces. | 1382 | (tramp-find-inline-compress): Improve traces. |
| 1377 | (tramp-maybe-send-script): Check for Perl binary. | 1383 | (tramp-maybe-send-script): Check for Perl binary. |
| 1378 | (tramp-get-inline-coding): Do not redirect STDOUT for local decoding. | 1384 | (tramp-get-inline-coding): Do not redirect STDOUT for local decoding. |
| 1379 | 1385 | ||
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) |