branch: master commit 7b013dbbdbaa692199616e5ef727b5d4e3149e63 Author: Noam Postavsky <npost...@users.sourceforge.net> Commit: Noam Postavsky <npost...@users.sourceforge.net>
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 yas-active-snippets. Close #754. --- yasnippet.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yasnippet.el b/yasnippet.el index 46cadfd..5fa5687 100644 --- a/yasnippet.el +++ b/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.