[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pdf-tools 45b0570677 1/5: Fix: Warnings and <26.1 code
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pdf-tools 45b0570677 1/5: Fix: Warnings and <26.1 code |
Date: |
Mon, 3 Oct 2022 05:59:03 -0400 (EDT) |
branch: elpa/pdf-tools
commit 45b0570677571c2373428b8af31a65129715f5cd
Author: Vedang Manerikar <ved.manerikar@gmail.com>
Commit: Vedang Manerikar <ved.manerikar@gmail.com>
Fix: Warnings and <26.1 code
Fix warnings and remove code for supporting older versions of Emacs
from the following files:
1. `pdf-annot.el`
Relates to: #26
---
lisp/pdf-annot.el | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/lisp/pdf-annot.el b/lisp/pdf-annot.el
index 81cb6392b2..6126a6cd84 100644
--- a/lisp/pdf-annot.el
+++ b/lisp/pdf-annot.el
@@ -1371,10 +1371,7 @@ by a header."
;; latex-preview regardless of the user
;; configuration.
(org-preview-latex-default-process 'dvipng)
- ;; For backward compatibility with emacs-version < 26.1
- (org-latex-create-formula-image-program 'dvipng)
- (org-format-latex-header
- pdf-annot-latex-header)
+ (org-format-latex-header pdf-annot-latex-header)
(temporary-file-directory
(pdf-util-expand-file-name
"pdf-annot-print-annotation-latex")))
(unless (file-directory-p temporary-file-directory)
@@ -1464,8 +1461,8 @@ annotation's contents and otherwise `org-mode'."
"Finalize edit-operations on an Annotation.
If DO-SAVE is t, save the changes to annotation content without
-asking. If DO-SAVE is 'ask, check if the user if contents should
-be saved.
+asking. If DO-SAVE is `ask', check with the user if contents
+should be saved.
If DO-KILL is t, kill all windows displaying the annotation
contents. Else just bury the buffers."