Browse Source

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.
Bastien Guerry 10 years ago
parent
commit
e8b51c0ce5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

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