mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-01 11:15:00 +00:00
org-list: unwrap org-entry-get from ignore-errors
* lisp/org-list.el (org-toggle-checkbox, org-update-checkbox-count):
no need to wrap org-entry-get in ignore-errors since commit
7dd425cc5d
This commit is contained in:
parent
713262edc1
commit
19ea827cd7
@ -2079,7 +2079,7 @@ in subtree, ignoring drawers."
|
||||
block-item
|
||||
lim-up
|
||||
lim-down
|
||||
(orderedp (ignore-errors (org-entry-get nil "ORDERED")))
|
||||
(orderedp (org-entry-get nil "ORDERED"))
|
||||
(bounds
|
||||
;; In a region, start at first item in region
|
||||
(cond
|
||||
@ -2189,9 +2189,7 @@ With optional prefix argument ALL, do this for the whole buffer."
|
||||
(recursivep
|
||||
(or (not org-hierarchical-checkbox-statistics)
|
||||
(string-match "\\<recursive\\>"
|
||||
(or (ignore-errors
|
||||
(org-entry-get nil "COOKIE_DATA"))
|
||||
""))))
|
||||
(or (org-entry-get nil "COOKIE_DATA") ""))))
|
||||
(bounds (if all
|
||||
(cons (point-min) (point-max))
|
||||
(cons (or (ignore-errors (org-back-to-heading) (point))
|
||||
|
Loading…
Reference in New Issue
Block a user