Revert "org.el (org-ctrl-c-ctrl-c): Bugfix"

This reverts commit d035a9af6c.

See http://article.gmane.org/gmane.emacs.orgmode/81752
This commit is contained in:
Bastien Guerry 2014-02-01 01:06:25 +01:00
parent d035a9af6c
commit c89827dc37
1 changed files with 3 additions and 6 deletions

View File

@ -20236,12 +20236,9 @@ This command does many different things, depending on context:
((bold code entity export-snippet inline-babel-call inline-src-block ((bold code entity export-snippet inline-babel-call inline-src-block
italic latex-fragment line-break macro strike-through subscript italic latex-fragment line-break macro strike-through subscript
superscript underline verbatim) superscript underline verbatim)
(while (and (not (memq (setq type (org-element-type context)) (while (and (setq context (org-element-property :parent context))
'(paragraph verse-block))) (not (memq (setq type (org-element-type context))
(org-element-property '(paragraph verse-block)))))))
:parent
(org-element-property :parent context)))
(setq context (org-element-property :parent context)))))
;; For convenience: at the first line of a paragraph on the ;; For convenience: at the first line of a paragraph on the
;; same line as an item, apply function on that item instead. ;; same line as an item, apply function on that item instead.
(when (eq type 'paragraph) (when (eq type 'paragraph)