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.
This commit is contained in:
Noam Postavsky 2016-12-01 18:20:09 -05:00
parent 2ca6321b47
commit 7b013dbbdb

View File

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