update packages
This commit is contained in:
@@ -40,6 +40,13 @@
|
||||
|
||||
(declare-function org-ref-bibtex-key-from-doi "org-ref-bibtex.el")
|
||||
|
||||
;; See https://github.com/jkitchin/org-ref/issues/812
|
||||
;; apparently there is a function name change coming in
|
||||
;; (if (and (not (fboundp 'dnd-unescape-uri))
|
||||
;; (fboundp 'dnd--escape-uri))
|
||||
;; (defalias 'dnd-unescape-uri 'dnd--unescape-uri)
|
||||
;; (warn "dnd-unescape-uri is undefined. Some things may not work."))
|
||||
|
||||
(defgroup org-ref-pdf nil
|
||||
"Customization group for org-ref-pdf"
|
||||
:tag "Org Ref PDF"
|
||||
@@ -272,7 +279,8 @@ variable `org-ref-pdf-doi-regex'."
|
||||
"Lookup highlighted text in PDFView in CrossRef."
|
||||
(interactive)
|
||||
(require 'pdf-view)
|
||||
(pdf-view-assert-active-region)
|
||||
(unless (pdf-view-active-region-p)
|
||||
(error "The region is not active"))
|
||||
(let* ((txt (pdf-view-active-region-text)))
|
||||
(pdf-view-deactivate-region)
|
||||
(crossref-lookup (mapconcat 'identity txt " \n"))))
|
||||
|
||||
Reference in New Issue
Block a user