Skip to content

Instantly share code, notes, and snippets.

@hbshim
hbshim / retina.patch
Last active November 9, 2020 18:26 — forked from inflation/retina.patch
HiDPI (aka. "retina") display support for AUCTeX (ver 12.3.1) Preview (with ghostscript ver 9.53.3) on emacs-mac-port (GNU Emacs 27.1). "wget" the raw code, "$ patch < retina.patch", recompile, then set "(setq preview-image-type 'image-io)".
--- preview.el.orig 2020-11-04 11:36:44.000000000 -0500
+++ preview.el 2020-11-04 12:01:34.000000000 -0500
@@ -179,7 +179,10 @@
(close preview-gs-close))
(tiff (open preview-gs-open)
(place preview-gs-place)
- (close preview-gs-close)))
+ (close preview-gs-close))
+ (image-io (open preview-gs-open)
+ (place preview-gs-place)
@hbshim
hbshim / .gitignore
Created May 27, 2020 23:49 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #