[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 138/299: Fix compilation problem due to `dbus-ignore-errors' not
From: |
Stefan Monnier |
Subject: |
[elpa] 138/299: Fix compilation problem due to `dbus-ignore-errors' not being defined. |
Date: |
Sun, 02 Nov 2014 03:10:56 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
commit b3e28fa148fd1c4eb39dab0dfdb7406920b923af
Author: Tassilo Horn <address@hidden>
Date: Mon Jun 24 09:04:09 2013 +0200
Fix compilation problem due to `dbus-ignore-errors' not being defined.
* tex.el (TeX-evince-dbus-p): Require dbus at compile-time.
---
ChangeLog | 4 ++++
tex.el | 3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d7ece1f..a3bc460 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-24 Tassilo Horn <address@hidden>
+
+ * tex.el (TeX-evince-dbus-p): Require dbus at compile-time.
+
2013-06-21 Tassilo Horn <address@hidden>
* tex.el (TeX-evince-dbus-p): Improved DBUS availability check.
diff --git a/tex.el b/tex.el
index 1e82bc1..19da9bf 100644
--- a/tex.el
+++ b/tex.el
@@ -1020,6 +1020,8 @@ The following built-in predicates are available:
:group 'TeX-view
:type '(alist :key-type symbol :value-type (group sexp)))
+;; For `dbus-ignore-errors'.
+(eval-when-compile (require 'dbus nil :no-error))
(defun TeX-evince-dbus-p (&rest options)
"Return non-nil, if evince is installed and accessible via DBUS.
Additional OPTIONS may be given to extend the check. If none are
@@ -1030,6 +1032,7 @@ search are checked, too."
(and (featurep 'dbusbind)
(require 'dbus nil :no-error)
(dbus-ignore-errors (dbus-get-unique-name :session))
+ (dbus-ping :session "org.gnome.evince.Daemon")
(executable-find "evince")
(or (not (memq :forward options))
(let ((spec (dbus-introspect-get-method
- [elpa] 120/299: Move remaining .cvsignore to .gitignore., (continued)
- [elpa] 120/299: Move remaining .cvsignore to .gitignore., Stefan Monnier, 2014/11/01
- [elpa] 122/299: Expand biblatex style file., Stefan Monnier, 2014/11/01
- [elpa] 129/299: Document LaTeX-find-matching-begin and LaTeX-find-matching-end., Stefan Monnier, 2014/11/01
- [elpa] 128/299: New variable TeX-electric-math., Stefan Monnier, 2014/11/01
- [elpa] 130/299: Add reference to Gmane thread in ChangeLog., Stefan Monnier, 2014/11/01
- [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 <=
- [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, 2014/11/01
- [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