diff options
| -rw-r--r-- | emacs.el | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -405,6 +405,14 @@ ;; Custom org-dblock for weekly time tracking (require 'cl-lib) +;; QUIRK (Org 9.8 / Emacs 31): while (require 'org-clock) evaluates its +;; defcustoms, the :set of org-clock-ask-before-exiting adds +;; org-clock-kill-emacs-query to kill-emacs-query-functions ~2800 lines +;; BEFORE the defun that defines it. Quitting inside that window +;; (e.g. C-x C-c during startup) hits a void-function error. Pre-define +;; a permissive stub; Org's real definition replaces it once loaded. +(unless (fboundp 'org-clock-kill-emacs-query) + (defun org-clock-kill-emacs-query () t)) (require 'org-clock) (defun org-dblock-write:weekly (params) |
