mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-16 17:19:49 +00:00
org-list: fix bug in `org-toggle-checkbox' on current item
* lisp/org-list.el (org-toggle-checkbox): lim-down must be a marker.
This commit is contained in:
parent
9c33b9c259
commit
b4aee73ef1
@ -2275,7 +2275,7 @@ in subtree, ignoring drawers."
|
||||
((org-at-item-p)
|
||||
(setq singlep t)
|
||||
(setq lim-up (point-at-bol)
|
||||
lim-down (point-at-eol)))
|
||||
lim-down (copy-marker (point-at-eol))))
|
||||
(t (error "Not at an item or heading, and no active region"))))
|
||||
;; Determine the checkbox going to be applied to all items
|
||||
;; within bounds.
|
||||
|
Loading…
Reference in New Issue
Block a user