diff options
| author | Vaino Kauppila <vaino@vke.fi> | 2026-09-10 16:18:54 +0300 |
|---|---|---|
| committer | Vaino Kauppila <vaino@vke.fi> | 2026-09-10 16:18:54 +0300 |
| commit | c53ead9f2f30a6d64907e06472d43d447588b4b2 (patch) | |
| tree | 54b5c97fcc10942f6fb22bd4a56ce068d5d04ceb /.gitignore | |
| parent | 74b9de6292b8638348a7595b843a7f22a6064890 (diff) | |
| download | emacs_setup-c53ead9f2f30a6d64907e06472d43d447588b4b2.tar.gz emacs_setup-c53ead9f2f30a6d64907e06472d43d447588b4b2.zip | |
Quitting Emacs (C-x C-c / frame close) during startup could randomly
fail with 'void-function org-clock-kill-emacs-query'. Cause: Org 9.8's
defcustom org-clock-ask-before-exiting has a :set that hooks the
function onto kill-emacs-query-functions while (require 'org-clock) is
still mid-file -- ~2800 lines before its defun. A quit landing in that
window calls the not-yet-defined function.
Fix: pre-define a permissive stub (returns t) before the require; the
real definition overwrites it when the require completes. Traced via
advice on add-hook during config load.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
