org.el (org-self-insert-command): Use `yas-expand'

* org.el (org-self-insert-command): Use `yas-expand' as
yas/expand is obsolete since Yasnippet 0.8.

Thanks to Craig Tanis for reporting this.
This commit is contained in:
Bastien Guerry 2014-07-28 17:28:54 +02:00
parent 5512bedee6
commit e8b51c0ce5
1 changed files with 1 additions and 1 deletions

View File

@ -19685,7 +19685,7 @@ overwritten, and the table is not marked as requiring realignment."
;; check if we blank the field, and if that triggers align
(and (featurep 'org-table) org-table-auto-blank-field
(member last-command
'(org-cycle org-return org-shifttab org-ctrl-c-ctrl-c yas/expand))
'(org-cycle org-return org-shifttab org-ctrl-c-ctrl-c yas-expand))
(if (or (equal (char-after) ?\ ) (looking-at "[^|\n]* |"))
;; got extra space, this field does not determine column width
(let (org-table-may-need-update) (org-table-blank-field))