cycle-themes kill buffers bug

ID: a63d8580-c6d4-432d-ba4a-0893e324d2a1
MTIME: [2024-12-25 Wed 16:06]

1. description

When running cycle-themes, I'd get prompted:

The current server still has clients; delete them?

2. what it ended up being

makes a call to , which in turn runs:

(funcall (or (get variable 'custom-set) #'set-default) variable

Some of the variables in question are also minor modes, among them . Which for some reason was set to t in Custom?

3. fixed it by

REVIEW_SCORE: 0.0541875
MTIME: [2024-12-25 Wed 16:06]

removing that from custom. we were fine then.

4. things I did to debug

ID: eaacbcd9-ddd3-4d57-a7d9-bc92a425d01c
MTIME: [2025-01-21 Tue 12:25]

M-x debug-on-entry enable-theme, then step through the frames until the truly inexplicable moment happened where server-mode was being set to t.

5. Backlinks

Author: sahiti

Created: 2025-05-03 Sat 15:32

Validate