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.
This commit is contained in:
Bastien Guerry 2014-04-16 17:25:08 +02:00
parent f61cd6b7a1
commit d1600af7b6
1 changed files with 3 additions and 2 deletions

View File

@ -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)