diff options
author | Case Duckworth | 2021-08-13 17:24:44 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-13 17:24:44 -0500 |
commit | 3794b3716bcdbac96b327ca639c5297966ea708d (patch) | |
tree | 1656cb1f9f6f7183fd9976e5e8ad92f8669f7830 /lisp | |
parent | Correct </> bug (diff) | |
download | emacs-3794b3716bcdbac96b327ca639c5297966ea708d.tar.gz emacs-3794b3716bcdbac96b327ca639c5297966ea708d.zip |
Don't error on bad drawers
Diffstat (limited to 'lisp')
-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 |