summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-12-31 15:16:12 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-12-31 15:16:12 +0100
commita374b8b92a228ed149300e842fbc70edd25f942f (patch)
tree6635e40d278597558c3afd0f8de022159607db42
parent20491f2e7cdebc20dd0287f67fbff4bcdeed728b (diff)
downloadorg-mode-a374b8b92a228ed149300e842fbc70edd25f942f.tar.gz
Silence byte-compiler
-rw-r--r--lisp/org.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/org.el b/lisp/org.el
index a09c82c..86b1807 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -20324,7 +20324,6 @@ This command does many different things, depending on context:
;; first item in the list. Without an argument, repair the
;; list.
(let* ((begin (org-element-property :contents-begin context))
- (beginm (move-marker (make-marker) begin))
(struct (org-element-property :structure context))
(old-struct (copy-tree struct))
(first-box (save-excursion
@@ -20348,8 +20347,7 @@ This command does many different things, depending on context:
(org-list-set-checkbox begin struct new-box)))
(org-list-write-struct
struct (org-list-parents-alist struct) old-struct)
- (org-update-checkbox-count-maybe)
- (save-excursion (goto-char beginm) (org-list-send-list 'maybe))))
+ (org-update-checkbox-count-maybe)))
((or `property-drawer `node-property)
(call-interactively #'org-property-action))
(`radio-target