diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-23 03:35:17 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-23 03:35:17 -0500 |
| commit | 1f56dc065c1d9d725e4719c4576183d012b2b4b8 (patch) | |
| tree | 0d43a9ae2c19d9db1134e33dc9d0e47c6835e493 /modules/selection-framework.el | |
| parent | 3143c0e60d98f1448e461c0915e8648294ce606d (diff) | |
| download | dotemacs-1f56dc065c1d9d725e4719c4576183d012b2b4b8.tar.gz dotemacs-1f56dc065c1d9d725e4719c4576183d012b2b4b8.zip | |
refactor(host-env): fix env-desktop-p doc and normalize the X predicates
env-desktop-p's docstring described a laptop, but the function returns t for the desktop case (no battery). env-x-p compared the window system against the string "x" while its sibling env-x11-p used `eq` against the symbol, so the two read differently for the same check.
I corrected the docstring and switched env-x-p to the symbol comparison. I also spelled out the difference between env-x-p (any X display, including XWayland) and env-x11-p (a real X11 session, no Wayland). Behavior is unchanged, so the existing display-predicate tests stay green.
Diffstat (limited to 'modules/selection-framework.el')
0 files changed, 0 insertions, 0 deletions
