bug-auctex
[Top][All Lists]
Advanced

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

bug#30149: [Patch] incorrect patch sent


From: Mosè Giordano
Subject: bug#30149: [Patch] incorrect patch sent
Date: Thu, 18 Jan 2018 00:12:52 +0100

Hi Alex,

thank you so much for your contribution, much appreciated!  I see that
you already signed copyright papers for Emacs, so there is no need to
do it again for AUCTeX.

I have only one question:

2018-01-17 20:45 GMT+01:00 Alex Branham <address@hidden>:
> diff --git a/tex.el b/tex.el
> index 5ee02b4c..d9f680b6 100644
> --- a/tex.el
> +++ b/tex.el
> @@ -1358,9 +1358,7 @@ viewer."
>             (cond ((fboundp #'select-frame-set-input-focus)
>                    (select-frame-set-input-focus (selected-frame)))
>                   ((fboundp #'x-focus-frame)
> -                  (x-focus-frame (selected-frame)))
> -                 ((fboundp #'focus-frame)
> -                  (focus-frame (selected-frame))))))
> +                  (x-focus-frame (selected-frame))))))
>        (error "Couldn't find the %s instance for %s" (capitalize app) uri))))

Why not directly using `select-frame-set-input-focus' instead of the
`cond'?  It should be always available in Emacs >= 24.1, or not?

Bye,
Mosè





reply via email to

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