branch: elpa/pdf-tools
commit c98016f90db2be3e974e0c2cae24830ac6db4fcc
Author: Vedang Manerikar <[email protected]>
Commit: Vedang Manerikar <[email protected]>

    fix(pdf-util): add declare-function for native-comp warnings
    
    Add declare-function statements for image-mode-window-get,
    image-set-window-vscroll, and image-set-window-hscroll to silence
    native compilation warnings about image-mode functions.
    
    Ref #333
---
 lisp/pdf-util.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/pdf-util.el b/lisp/pdf-util.el
index d0a123c05f6..5c0e50d6450 100644
--- a/lisp/pdf-util.el
+++ b/lisp/pdf-util.el
@@ -36,6 +36,9 @@
 (declare-function pdf-view-image-offset "pdf-view")
 (declare-function pdf-cache-pagesize "pdf-cache")
 (declare-function pdf-view-image-type "pdf-view")
+(declare-function image-mode-window-get "image-mode")
+(declare-function image-set-window-vscroll "image-mode")
+(declare-function image-set-window-hscroll "image-mode")
 
 
 

Reply via email to