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 | 14ec32b223608c8c507b4743ea7aa9c742d30d75 (patch) | |
| tree | a9e6594a858f56c87300bb932a757b812e6d536d /tests/test-custom-buffer-file-print-diff-eww.el | |
| parent | 62a6b88bb3706c890b511e484e26f6fb4756eecb (diff) | |
| download | dotemacs-14ec32b223608c8c507b4743ea7aa9c742d30d75.tar.gz dotemacs-14ec32b223608c8c507b4743ea7aa9c742d30d75.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 'tests/test-custom-buffer-file-print-diff-eww.el')
0 files changed, 0 insertions, 0 deletions
