Arash Esbati writes: > I don't use doc-view, so I can't really tell, but preview.el (part of > AUCTeX) uses "executable-find". Applied to > `doc-view-ghostscript-program', it could look like this: Following up myself, I suggest the patch attached. @Tassilo: What do you think, does it make sense? Best, Arash