Skip to content

Instantly share code, notes, and snippets.

View carlosgeos's full-sized avatar
🛵

Carlos Requena López carlosgeos

🛵
View GitHub Profile
@jsks
jsks / retina.patch
Created January 3, 2019 15:45
YAMAMOTO Mitsuharu's patch for pdf-tools on MacOS https://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00648.html
diff --git a/lisp/pdf-annot.el b/lisp/pdf-annot.el
index b0ff3c2..82cf122 100644
--- a/lisp/pdf-annot.el
+++ b/lisp/pdf-annot.el
@@ -981,6 +981,7 @@ other annotations."
(pdf-cache-renderpage-highlight
page (car size)
`("white" "steel blue" 0.35 ,@edges))
+ :width (car size)
:map (pdf-view-apply-hotspot-functions