diff options
-rw-r--r-- | tex-conf.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tex-conf.el b/tex-conf.el index 0c90a48..4cf5ac0 100644 --- a/tex-conf.el +++ b/tex-conf.el @@ -61,10 +61,12 @@ #'TeX-revert-document-buffer) (setq pdf-sync-forward-display-action - (list (list 'display-buffer-same-window))) + (list (list #'display-buffer-reuse-window + #'display-buffer-same-window))) (setq pdf-sync-backward-display-action - (list (list 'display-buffer-same-window))) + (list (list #'display-buffer-reuse-window + #'display-buffer-same-window))) (advice-add #'TeX-pdf-tools-sync-view :override #'durand-TeX-pdf-tools-sync-view-a) |