emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Doc View Page Problems


From: Stefan Monnier
Subject: Re: Doc View Page Problems
Date: Wed, 16 Apr 2014 10:18:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>         I put the ChangeLog entry at the end of this email.

Thanks.

>>> (setf (doc-view-current-page) page
>>> +          (image-mode-window-get 'page t) page      ;; Update the default 
>>> page.
>> Wouldn't it be better to do that directly inside image-mode-window-put?
>         I used `image-mode-window-get' because that was what was being
>         used through most of the document (including the line above
>         it).  It could just as easily be (image-mode-window-put 'page
>         page t).

No, I really meant to do it *inside* image-mode-window-put, not to use
image-mode-window-put instead of setf'ing image-mode-window-get.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]