about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.el b/init.el index c50b089..1224930 100644 --- a/init.el +++ b/init.el
@@ -1306,14 +1306,14 @@ successive invocations."
1306 (add-hook 'org-mode-hook 1306 (add-hook 'org-mode-hook
1307 (defun org-mode@wc-stupid () 1307 (defun org-mode@wc-stupid ()
1308 (unless (and wc-mode 1308 (unless (and wc-mode
1309 (> 0 (+ wc-orig-words wc-words-delta)))) 1309 (> 0 (+ (or wc-orig-words 0)
1310 (or wc-words-delta 0)))))
1310 (setq-local 1311 (setq-local
1311 wc-count-words-function 1312 wc-count-words-function
1312 (lambda (start end) "Count words stupidly with a limit." 1313 (lambda (start end) "Count words stupidly with a limit."
1313 (acdw-org/count-words-stupidly start 1314 (acdw-org/count-words-stupidly start
1314 end 1315 end
1315 ;999 1316 999)))))
1316 )))))
1317 1317
1318 (setup (:straight org-appear) 1318 (setup (:straight org-appear)
1319 (:hook-into org-mode))) 1319 (:hook-into org-mode)))