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

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

Re: reclaiming focus after `browse-url'


From: Emanuel Berg
Subject: Re: reclaiming focus after `browse-url'
Date: Thu, 30 Jun 2022 08:36:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Sam Steingold wrote:

>   "Cons cell (how-many-times . frame-to-give-focus-to).") [...]
>
>   "Re-acquire OS input focus until `(car sds-reclaim-focus)' is 0.
> Should be used, after calling 'browse-url' 5 times, as
>   (setq sds-reclaim-focus (cons 5 (selected-frame)))
>   (add-function :after after-focus-change-function #'sds-reclaim-focus)
> it removes itself from 'after-focus-change-function'."

Side issue, avoid Elisp in docstrings ...

Not everyone understands them and even so if it made sense (it
doesn't) one would simply call the source itself the complete,
100% documentation of a software with no need to say a word.
...

The code can maybe be made ... more clear?

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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