diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-13 17:21:23 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-13 17:21:23 -0600 |
| commit | bc1115144d8bab0f0ab87e8582f102c3eec37f55 (patch) | |
| tree | fe77d8004dc2c767c1e4fbfd959817c1ddcd0f2f /test-from-git | |
| parent | eeb06e6adf32fc173aad5f6b6df2803d87fba5ee (diff) | |
| download | org-drill-bc1115144d8bab0f0ab87e8582f102c3eec37f55.tar.gz org-drill-bc1115144d8bab0f0ab87e8582f102c3eec37f55.zip | |
fix: prevent window corruption in org-drill-merge-buffers
Replaced switch-to-buffer with with-current-buffer to avoid changing
visible buffers during merge operation. This prevents window state
corruption and allows the function to work correctly in batch mode.
Changed line 3374-3375 from:
(save-excursion
(switch-to-buffer (marker-buffer marker))
...)
To:
(with-current-buffer (marker-buffer marker)
(save-excursion
...))
Diffstat (limited to 'test-from-git')
0 files changed, 0 insertions, 0 deletions
