help-gnu-emacs
[Top][All Lists]
Advanced

[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:38:39 +0800

On Wed, May 3, 2023 at 11:24 AM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> 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.

And I also noticed the following errors:

error in process sentinel: run-hook-with-args: Symbol’s function
definition is void: pdf-tools-deactivate-strip
error in process sentinel: Symbol’s function definition is void:
pdf-tools-deactivate-strip

> > --
> > Best,
> >
> >
> > RY
>
> Zhao



reply via email to

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