[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 23888157e7152c2b18b5c
From: |
Mosè Giordano |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 23888157e7152c2b18b5c5b516a8636ae2a97f9b |
Date: |
Mon, 27 Jun 2016 09:31:35 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".
The branch, master has been updated
via 23888157e7152c2b18b5c5b516a8636ae2a97f9b (commit)
from 7f91fb9f98d6498a43409056752d6db429416c51 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 23888157e7152c2b18b5c5b516a8636ae2a97f9b
Author: Mosè Giordano <address@hidden>
Date: Sun Jun 26 16:57:53 2016 +0200
Change test for PDF Tools availability
* tex.el (TeX-pdf-tools-sync-view): Change test for PDF Tools
availability, in order to make it possible to postpone loading of the
package, for example when using "use-package". Fixes bug#23803.
diff --git a/tex.el b/tex.el
index 9424d3f..6c302bb 100644
--- a/tex.el
+++ b/tex.el
@@ -1262,8 +1262,11 @@ DE is the name of the desktop environment, either
\"gnome\" or
If `TeX-source-correlate-mode' is disabled, only find and pop to
the output PDF file. Used by default for the PDF Tools viewer
entry in `TeX-view-program-list-builtin'."
- (unless (featurep 'pdf-tools)
- (error "PDF Tools are not installed"))
+ ;; Make sure `pdf-tools' is at least in the `load-path', but the user must
+ ;; take care of properly loading and installing the package. We used to test
+ ;; "(featurep 'pdf-tools)", but that doesn't play well with deferred loading.
+ (unless (fboundp 'pdf-tools-install)
+ (error "PDF Tools are not available"))
(unless TeX-PDF-mode
(error "PDF Tools only work with PDF output"))
(add-hook 'pdf-sync-backward-redirect-functions
-----------------------------------------------------------------------
Summary of changes:
tex.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 23888157e7152c2b18b5c5b516a8636ae2a97f9b,
Mosè Giordano <=