diff options
| author | Andreas Politz <politza@hochschule-trier.de> | 2017-11-12 17:35:37 +0100 |
|---|---|---|
| committer | Andreas Politz <politza@hochschule-trier.de> | 2018-04-21 17:53:13 +0200 |
| commit | 962b993f8b664cdb7e27f93daf690d4e9493f70b (patch) | |
| tree | d1130f9a00c42aae6bb1b17a3dbf286b2adb48d9 /lisp/pdf-cache.el | |
| parent | 2271fa3d17092356da52e9ce59a9ecb80950abdf (diff) | |
Add a FIXME for a potential problem
Diffstat (limited to 'lisp/pdf-cache.el')
| -rw-r--r-- | lisp/pdf-cache.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/pdf-cache.el b/lisp/pdf-cache.el index 84b9740..49b86d7 100644 --- a/lisp/pdf-cache.el +++ b/lisp/pdf-cache.el @@ -349,6 +349,8 @@ See also `pdf-info-renderpage-highlight' and (pdf-cache-prefetch-minor-mode (pdf-util-assert-pdf-buffer) (add-hook 'pre-command-hook 'pdf-cache--prefetch-stop nil t) + ;; FIXME: Disable the time when the buffer is killed or it's + ;; major-mode changes. (setq pdf-cache--prefetch-timer (run-with-idle-timer (or pdf-cache-prefetch-delay 1) t 'pdf-cache--prefetch-start (current-buffer)))) |
