summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2014-04-16 17:25:08 +0200
committerBastien Guerry <bzg@altern.org>2014-04-16 17:25:08 +0200
commitd1600af7b62fea0da36d9282069f22516a11ea8b (patch)
treed3362030f41be26c5468d2c9bc0fab3fe04ec703
parentf61cd6b7a17507dbcbd96a105d6c2e59a5b087b4 (diff)
downloadorg-mode-d1600af7b62fea0da36d9282069f22516a11ea8b.tar.gz
org.el (org-cycle): Try `org-try-cdlatex-tab' before trying to edit/move as in a table
* org.el (org-cycle): Try `org-try-cdlatex-tab' before trying to edit/move as in a table. Thanks to Konstantin Kliakhandler for reporting this.
-rw-r--r--lisp/org.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 560d423..c5274e1 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6597,6 +6597,9 @@ in special contexts.
(show-all)
(org-unlogged-message "Entire buffer visible, including drawers"))
+ ;; Try cdlatex TAB completion
+ ((org-try-cdlatex-tab))
+
;; Table: enter it or move to the next field.
((org-at-table-p 'any)
(if (org-at-table.el-p)
@@ -6633,8 +6636,6 @@ in special contexts.
(or (bolp) (not (eq org-cycle-emulate-tab 'exc-hl-bol))))
(org-inlinetask-toggle-visibility))
- ((org-try-cdlatex-tab))
-
;; At an item/headline: delegate to `org-cycle-internal-local'.
((and (or (and org-cycle-include-plain-lists (org-at-item-p))
(save-excursion (beginning-of-line 1)