[Top][All Lists]

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

Re: doc-view-current-slice only used internally

From: Tassilo Horn
Subject: Re: doc-view-current-slice only used internally
Date: Fri, 04 Jan 2008 23:26:47 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

"Robert J. Chassell" <address@hidden> writes:

Hi Robert,

>    I don't get you.  The variable is buffer-local, so it's value will
>    be the same in any frame that shows the doc-view buffer with that
>    file.  There's no way to have different values in different frames.
> Yes, but I have four buffers, each from a different file, that I want
> to put into doc-view.  Each will have the same width.  Hence, the need
> to set the size of the second frame globally.

You can use something like

(add-hook 'doc-view-mode-hook
          (lambda ()
            (setq doc-view-current-slice '(100 100 600 800))))

in your ~/.emacs.


reply via email to

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