vedang / pdf-tools

Emacs support library for PDF files.
https://pdftools.wiki
GNU General Public License v3.0
590 stars 83 forks source link

Jump back from a link. #259

Closed MassimoLauria closed 4 months ago

MassimoLauria commented 4 months ago

This is more a feature request than an issue.

I'd like that whenever a link inside the PDF is clicked or followed (from a document to itself), I could then go back to the point I was before clicking. I was thinking about adding xref-push-marker-stack to pdf-view-before-change-page-hook but

Is there an easy solution/configuration I missed?

bramadams commented 4 months ago

Hi, does pdf-history-backward (bound to lowercase "l") work in this case?

MassimoLauria commented 4 months ago

Wow, thank you. I looked for this functionality in the docs, but I missed it. It works well.