lang/org: do org-try-structure-completion on TAB #417

This commit is contained in:
Henrik Lissner 2018-02-12 23:18:38 -05:00
parent ba19032d29
commit 9b76627ee0
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -130,6 +130,7 @@ If on a:
"Depending on the context either a) indent the current line, b) go the next
table field or c) run `yas-expand'."
(interactive)
(or (org-try-structure-completion)
(call-interactively
(cond ((and (bound-and-true-p yas-minor-mode)
(yas--templates-for-key-at-point))
@ -137,7 +138,7 @@ table field or c) run `yas-expand'."
((org-at-table-p)
#'org-table-next-field)
(t
#'+org/indent))))
#'+org/indent)))))
;;;###autoload
(defun +org/dedent ()