diff options
-rw-r--r-- | lisp/acdw-org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/acdw-org.el b/lisp/acdw-org.el index 3acc1f1..189ac67 100644 --- a/lisp/acdw-org.el +++ b/lisp/acdw-org.el | |||
@@ -333,7 +333,7 @@ instead of the true count." | |||
333 | ;; Ignore drawers | 333 | ;; Ignore drawers |
334 | ((or (looking-at org-drawer-regexp) | 334 | ((or (looking-at org-drawer-regexp) |
335 | (looking-at org-clock-drawer-re)) | 335 | (looking-at org-clock-drawer-re)) |
336 | (search-forward ":END:")) | 336 | (search-forward ":END:" nil :noerror)) |
337 | ;; Count everything else | 337 | ;; Count everything else |
338 | (t (setq words (1+ words)) | 338 | (t (setq words (1+ words)) |
339 | (if (and limit | 339 | (if (and limit |