Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pdf-tools page number fix #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Pdf-tools page number fix #95

wants to merge 1 commit into from

Conversation

fm4d
Copy link

@fm4d fm4d commented Aug 6, 2015

Fixed pdf-tools page number in default and center theme, viz. #88. The fix is little bit of hacky, but I didnt see different way without partial rewrite (but I am quite new to elisp, so..). I thought about creating a new theme, so the default is hackless and readable, but Ill leave that up to you.

Btw: Add this code to .emacs to remove broken buffer position percentage which is auto-enabled in pdf-tools.

add-hook 'pdf-tools-enabled-hook (lambda ()
                    (pdf-tools-disable-minor-modes
                     '(pdf-misc-size-indication-minor-mode))))

Pdf-tools page numbers fixed in default an center theme
@andersjohansson
Copy link

Oh, list splicing. Not very pretty, no. I can't figure a better way to do it either though. Thanks for looking into it!

@milkypostman
Copy link
Owner

probably won't merge something so specific. there has to be a better way to do this. how does the normal modeline do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants