I recently discovered the Emacs Application Framework, which works quite nice for me. The only thing that's bothering me is, that I need to explicitly call
eaf-open on a file, to open it with the framework.
I tried to associate eaf with the file extension via
(add-to-list 'auto-mode-alist '("\\.[pP][dD][fF]\\'" . eaf-mode)) but to no avail.
How can I tell Emacs that it should open PDF files with eaf?