克隆代码后
emacs.d/init-org.el at 9bb862b3d5f95d66506693cf1ebc685bb79d1080 · purcell/emacs.d
个人配置
;;; Org clock
;; Save the running clock and all clock history when exiting Emacs, load it on startup
(after-load 'org
(org-clock-persistence-insinuate))
(setq org-clock-persist t)
(setq org-clock-in-resume t)
;; Save clock data and notes in the LOGBOOK drawer
(setq org-clock-into-drawer t)
;; Save state changes in the LOGBOOK drawer
(setq org-log-into-drawer t)
;; Removes clocked tasks with 0:00 duration
(setq org-clock-out-remove-zero-time-clocks t)
;; Show clock sums as hours and minutes, not "n days" etc.
(setq org-time-clocksum-format
'(:hours "%d" :require-hours t :minutes ":%02d" :require-minutes t))
提示“符号的函数定义无效:后加载”
搜索关键字'afterf-load',它返回带有-eval-after-load Hooks for Loading - GNU Emacs Lisp Reference Manual
后加载是个人定义的功能吗?
答案 0 :(得分:1)
实际上,这不是标准库中定义的符号。您克隆的存储库将此定义为init-utils
中with-eval-after-load
的可移植性别名,但是当然您必须先加载此定义,然后才能使用它。可能要查看存储库的安装和使用说明。