This repository has been archived by the owner on Apr 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It is actually the other way around...
- Loading branch information
1 parent
8cf53b5
commit 20c7026
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20c7026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another idea I had was to use
funcall
s everywhere.Example:
20c7026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about that, too. But then I learned that
pdf-tools
provide an after hook when the page changes. IMHO this is the cleanest way.The only one that behaves badly is the
interleave-add-note
function, becausedoc-view
andpdf-view
use different functions to return the current page number.What I'm planning is to make
interleave-add-note
parameterizedAnd then