소스 검색

Fix C-c C-c error when called on attributes attached to a plain list

* lisp/org.el (org-ctrl-c-ctrl-c): Fix error when called on attributes
  attached to a plain list.
Nicolas Goaziou 12 년 전
부모
커밋
f7f1b4bb7e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      lisp/org.el

+ 2 - 2
lisp/org.el

@@ -19653,8 +19653,8 @@ 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))
-	   (org-list-send-list 'maybe))
+	     (org-update-checkbox-count-maybe)
+	     (save-excursion (goto-char begin) (org-list-send-list 'maybe))))
 	  ((property-drawer node-property)
 	   (call-interactively 'org-property-action))
 	  ((radio-target target)