[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 137/299: Better check for DBUS support.
From: |
Stefan Monnier |
Subject: |
[elpa] 137/299: Better check for DBUS support. |
Date: |
Sun, 02 Nov 2014 03:10:55 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
commit 536cea74cd65b66c7f8721a2e298c02d9fc4ecef
Author: Tassilo Horn <address@hidden>
Date: Fri Jun 21 11:01:19 2013 +0200
Better check for DBUS support.
* tex.el (TeX-evince-dbus-p): Improved DBUS availability check.
---
ChangeLog | 4 ++++
tex.el | 6 ++----
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 23b0906..d7ece1f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-21 Tassilo Horn <address@hidden>
+
+ * tex.el (TeX-evince-dbus-p): Improved DBUS availability check.
+
2013-06-21 R�diger Sonderfeld <address@hidden>
* tex.el (TeX-doc-backend-alist): Remove unnecessary `info' check.
diff --git a/tex.el b/tex.el
index 2df7a4d..1e82bc1 100644
--- a/tex.el
+++ b/tex.el
@@ -1027,11 +1027,9 @@ given, only the minimal requirements needed by backward
search
are checked. If OPTIONS include `:forward', which is currently
the only option, then additional requirements needed by forward
search are checked, too."
- (and (not (featurep 'xemacs)) ; XEmacs 21.4 has no `require' with
- ; arity 3, and no dbus support anyway.
+ (and (featurep 'dbusbind)
(require 'dbus nil :no-error)
- (functionp 'dbus-register-signal)
- (getenv "DBUS_SESSION_BUS_ADDRESS")
+ (dbus-ignore-errors (dbus-get-unique-name :session))
(executable-find "evince")
(or (not (memq :forward options))
(let ((spec (dbus-introspect-get-method
- [elpa] 133/299: Fix compile error with emacs bzr which assumes elisp files are UTF-8 encoded., (continued)
- [elpa] 133/299: Fix compile error with emacs bzr which assumes elisp files are UTF-8 encoded., Stefan Monnier, 2014/11/01
- [elpa] 132/299: Fix `TeX-next-error'., Stefan Monnier, 2014/11/01
- [elpa] 131/299: New hooks TeX-after-document-hook and LaTeX-after-usepackage-hook., Stefan Monnier, 2014/11/01
- [elpa] 136/299: Simplify TeX-doc-backend-alist., Stefan Monnier, 2014/11/01
- [elpa] 135/299: Put coding cookie in elisp header line., Stefan Monnier, 2014/11/01
- [elpa] 138/299: Fix compilation problem due to `dbus-ignore-errors' not being defined., Stefan Monnier, 2014/11/01
- [elpa] 134/299: Fix coding once again., Stefan Monnier, 2014/11/01
- [elpa] 139/299: Generate PROBLEMS file., Stefan Monnier, 2014/11/01
- [elpa] 142/299: Update texinfo files for Git., Stefan Monnier, 2014/11/01
- [elpa] 143/299: Fix spelling errors in tex-buf.el., Stefan Monnier, 2014/11/01
- [elpa] 137/299: Better check for DBUS support.,
Stefan Monnier <=
- [elpa] 140/299: Remove warnings and docs for ancient preview problems., Stefan Monnier, 2014/11/01
- [elpa] 141/299: Prefer TeX distro GS wrappers., Stefan Monnier, 2014/11/01
- [elpa] 145/299: Select mgs only if it's functional for non-MikTeX apps., Stefan Monnier, 2014/11/01
- [elpa] 147/299: Shorter mgs check., Stefan Monnier, 2014/11/01
- [elpa] 144/299: Silence some compilation warnings., Stefan Monnier, 2014/11/01
- [elpa] 148/299: Add default tabular-like env for use in tables., Stefan Monnier, 2014/11/01
- [elpa] 150/299: Move TeX-source-correlate-method documentation to a better section., Stefan Monnier, 2014/11/01
- [elpa] 152/299: Fix fontification of some biblatex macros., Stefan Monnier, 2014/11/01
- [elpa] 146/299: Improve mgs check., Stefan Monnier, 2014/11/01
- [elpa] 151/299: New style `tabulary'., Stefan Monnier, 2014/11/01