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:
parent
5512bedee6
commit
e8b51c0ce5
|
@ -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
|
;; check if we blank the field, and if that triggers align
|
||||||
(and (featurep 'org-table) org-table-auto-blank-field
|
(and (featurep 'org-table) org-table-auto-blank-field
|
||||||
(member last-command
|
(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]* |"))
|
(if (or (equal (char-after) ?\ ) (looking-at "[^|\n]* |"))
|
||||||
;; got extra space, this field does not determine column width
|
;; got extra space, this field does not determine column width
|
||||||
(let (org-table-may-need-update) (org-table-blank-field))
|
(let (org-table-may-need-update) (org-table-blank-field))
|
||||||
|
|
Loading…
Reference in New Issue