[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to have a frame dedicated to buffers of a certain kind? (was: us
From: |
Hongyi Zhao |
Subject: |
Re: How to have a frame dedicated to buffers of a certain kind? (was: use pdf-tools in Emacs.) |
Date: |
Wed, 3 May 2023 11:24:32 +0800 |
On Wed, May 3, 2023 at 10:40 AM Ruijie Yu <ruijie@netyu.xyz> wrote:
>
>
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> > ;; Split windows horizontally and display the PDF and TeX source
> > side-by-side
> > (setq split-width-threshold 1000)
> > (add-hook 'TeX-after-compilation-finished-functions
> > #'(lambda () (pdf-tools-deactivate-strip)))
>
> No need for the #'(lambda () ...) wrapping. In general, you don't need
> to #' any lambdas. In this specific case, just saying
> #'pdf-tools-deactivate-strip as the second argument to `add-hook' is
> sufficient.
I tried, but all the above methods don't work, as shown in the attached file.
> --
> Best,
>
>
> RY
Zhao
image.png
Description: PNG image