diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2011-08-12 15:11:19 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2011-08-12 15:11:19 +0200 |
commit | b4aee73ef19211ff7d8051e1d0533cb699c200cf (patch) | |
tree | f6de2b47ec4a06e4e30360af18e63d2b7de7412b | |
parent | 9c33b9c259806b6cf6bf0bac01db9f47f6b38198 (diff) | |
download | org-mode-b4aee73ef19211ff7d8051e1d0533cb699c200cf.tar.gz |
org-list: fix bug in `org-toggle-checkbox' on current item
* lisp/org-list.el (org-toggle-checkbox): lim-down must be a marker.
-rw-r--r-- | lisp/org-list.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-list.el b/lisp/org-list.el index 2339c4d..64197e9 100644 --- a/lisp/org-list.el +++ b/lisp/org-list.el @@ -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. |