summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Zonov <izonov@gmail.com>2013-05-24 17:10:38 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-06-27 15:37:38 (GMT)
commitb0059198c31b6454995fef50115636744565230e (patch)
treeb5ee33cc9b4ac27063385a4767915f8166c67ece
parent311856590575807b4dc98a109603bc5e846d60b6 (diff)
downloadorg-mode-b0059198c31b6454995fef50115636744565230e.zip
org-mode-b0059198c31b6454995fef50115636744565230e.tar.gz
org-mouse: Fix incorrect replacement for checkbox lists
* org-mode: Add correct newtext parameter in `org-mouse-context-menu' function for "All Set" and "All Clear" menu items. TINYCHANGE
-rw-r--r--lisp/org-mouse.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-mouse.el b/lisp/org-mouse.el
index fbdc7fb..c8a6c86 100644
--- a/lisp/org-mouse.el
+++ b/lisp/org-mouse.el
@@ -656,11 +656,11 @@ This means, between the beginning of line and the point."
["All Clear" (org-mouse-for-each-item
(lambda ()
(when (save-excursion (org-at-item-checkbox-p))
- (replace-match "[ ]"))))]
+ (replace-match "[ ] "))))]
["All Set" (org-mouse-for-each-item
(lambda ()
(when (save-excursion (org-at-item-checkbox-p))
- (replace-match "[X]"))))]
+ (replace-match "[X] "))))]
["All Toggle" (org-mouse-for-each-item 'org-toggle-checkbox) t]
["All Remove" (org-mouse-for-each-item
(lambda ()