At 2017-09-17T16:54:14-04:00, Stefan Monnier wrote:
>> (test . (eq window-system 'x)))
>
> BTW, don't doc-view-mode and pdf-view-mode also work in other window
> systems than X11?
It's been several months since I stopped using MacOS, so I can't verify
it now, but the README at https://github.com/politza/pdf-tools says that
the package works in MacOS.