From c89827dc37d061babd09f4fccd79def03c30b139 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sat, 1 Feb 2014 01:06:25 +0100 Subject: [PATCH 1/2] Revert "org.el (org-ctrl-c-ctrl-c): Bugfix" This reverts commit d035a9af6c77deacb102406feb5450fed78a7c25. See http://article.gmane.org/gmane.emacs.orgmode/81752 --- lisp/org.el | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 98443b508..650b6ba2b 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -20236,12 +20236,9 @@ This command does many different things, depending on context: ((bold code entity export-snippet inline-babel-call inline-src-block italic latex-fragment line-break macro strike-through subscript superscript underline verbatim) - (while (and (not (memq (setq type (org-element-type context)) - '(paragraph verse-block))) - (org-element-property - :parent - (org-element-property :parent context))) - (setq context (org-element-property :parent context))))) + (while (and (setq context (org-element-property :parent context)) + (not (memq (setq type (org-element-type context)) + '(paragraph verse-block))))))) ;; For convenience: at the first line of a paragraph on the ;; same line as an item, apply function on that item instead. (when (eq type 'paragraph) From ccc4f6b96e6af91a5a1e7a5e6766eed9006d658b Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sat, 1 Feb 2014 01:08:42 +0100 Subject: [PATCH 2/2] Fix d035a9af6 Thanks to Nicolas for providing the correct fix. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 650b6ba2b..8ce736119 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -20238,7 +20238,7 @@ This command does many different things, depending on context: superscript underline verbatim) (while (and (setq context (org-element-property :parent context)) (not (memq (setq type (org-element-type context)) - '(paragraph verse-block))))))) + '(paragraph verse-block table-cell))))))) ;; For convenience: at the first line of a paragraph on the ;; same line as an item, apply function on that item instead. (when (eq type 'paragraph)