Browse files

Keep yas--snippets-at-point for compatibility

While officially it was an "internal" function, there were at least 2
other packages using it.

* yasnippet.el (yas--snippets-at-point): Restore as obsolete alias of

Close #754.
  • Loading branch information...
1 parent 2ca6321 commit 7b013dbbdbaa692199616e5ef727b5d4e3149e63 @npostavs npostavs committed Dec 1, 2016
Showing with 3 additions and 0 deletions.
  1. +3 −0 yasnippet.el
@@ -3061,6 +3061,9 @@ equivalent to a range covering the whole buffer."
(overlays-in beg end))))
#'>= :key #'yas--snippet-id))
+(define-obsolete-function-alias 'yas--snippets-at-point
+ 'yas-active-snippets "0.12")
(defun yas-next-field-or-maybe-expand ()
"Try to expand a snippet at a key before point.

1 comment on commit 7b013db



Please sign in to comment.