diff options
| author | Utkarsh Singh <utkarsh190601@gmail.com> | 2021-05-11 22:17:20 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-11 22:17:20 +0530 |
| commit | ce87639b69c7341a145adba13454c93e43d0ac4f (patch) | |
| tree | ad6808438b214aad4b09090cbf2436b0999c31ad | |
| parent | 566c75f3a5af2dc4bfc8333fbafa2a48f02f9eb4 (diff) | |
Fix reference to free variable warning for image-mode-winprops-alist (#9)
Fixes the following compilation warnings:
Warning (comp): pdf-util.el:113:36: Warning: reference to free variable ‘image-mode-winprops-alist’
Warning (comp): pdf-util.el:114:39: Warning: assignment to free variable ‘image-mode-winprops-alist’
| -rw-r--r-- | lisp/pdf-util.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/pdf-util.el b/lisp/pdf-util.el index 345b258..3c4d77b 100644 --- a/lisp/pdf-util.el +++ b/lisp/pdf-util.el @@ -91,6 +91,7 @@ remove the entry if the new value is `eql' to DEFAULT." (require 'image-mode) (defvar image-mode-winprops-original-function (symbol-function 'image-mode-winprops)) + (defvar image-mode-winprops-alist) (eval-after-load "image-mode" '(defun image-mode-winprops (&optional window cleanup) (if (not (eq major-mode 'pdf-view-mode)) |
