summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/pdf-sync.el17
1 files changed, 4 insertions, 13 deletions
diff --git a/lisp/pdf-sync.el b/lisp/pdf-sync.el
index 006d409..a5b284d 100644
--- a/lisp/pdf-sync.el
+++ b/lisp/pdf-sync.el
@@ -50,6 +50,10 @@ command `pdf-sync-minor-mode' is activated and this map is defined."
:group 'pdf-sync
:type 'key-sequence)
+(make-obsolete-variable
+ 'pdf-sync-forward-display-pdf-key
+ "Bound in Auctex's to C-c C-v, if TeX-source-correlate-mode is activate." "1.0")
+
(defcustom pdf-sync-backward-hook nil
"Hook ran after going to a source location.
@@ -132,19 +136,6 @@ with AUCTeX."
nil nil nil
(pdf-util-assert-pdf-buffer))
-(eval-after-load "tex"
- '(when (and pdf-sync-forward-display-pdf-key
- (boundp 'TeX-source-correlate-map)
- (let ((key (lookup-key
- TeX-source-correlate-map
- (kbd pdf-sync-forward-display-pdf-key))))
- (or (null key)
- (numberp key))))
- (define-key TeX-source-correlate-map
- (kbd pdf-sync-forward-display-pdf-key)
- 'pdf-sync-forward-search)))
-
-
;; * ================================================================== *
;; * Backward search (PDF -> TeX)