auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] raise-frame


From: Mosè Giordano
Subject: Re: [AUCTeX] raise-frame
Date: Tue, 31 May 2016 01:59:42 +0200

Hi Tassilo,

2016-05-30 13:56 GMT+02:00 Tassilo Horn <address@hidden>:
> Carlos Alegria Galicia <address@hidden> writes:
>
> Hi Carlos,
>
>> Thanks for your answer. I can confirm that 'x-focus-frame' works on my
>> system.
>
> Really?  It doesn't work for me when being called by
> `TeX-source-correlate-sync-source'.  Emacs stays in the background here.
>
> But when I defer the call 1 second using
>
>   (run-at-time 1 nil
>    (lambda ()
>     (x-focus-frame (selected-frame))))

`x-focus-frame' is available only from GNU Emacs 24.  I think you
should at least put a `fboundp' test before calling that function, if
`raise-frame' isn't an option at all.

Bye,
Mosè



reply via email to

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