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

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

bug#74781: [PATCH] Add `browse-url-qutebrowser'


From: Eli Zaretskii
Subject: bug#74781: [PATCH] Add `browse-url-qutebrowser'
Date: Wed, 11 Dec 2024 17:32:24 +0200

> Cc: 74781@debbugs.gnu.org
> Date: Wed, 11 Dec 2024 11:45:38 +0100
> From:  Daniel Mendler via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> I would be pragmatic and keep the (getenv "XDG_RUNTIME_DIR"), instead of
> replacing it by this:
> 
> (declare-function xdg-runtime-dir "xdg")
> (require 'xdg)
> (xdg-runtime-dir)

What if some day we decide that XDG_RUNTIME_DIR can fall back on, say,
~/.config/runtime/ ?

xdg.el exists to let us avoid leaking abstractions, so I think we
should use it even if the function is a trivial wrapper around getenv.





reply via email to

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