emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 7b013db 06/63: Keep yas--snippets-at-point for compatibili


From: Noam Postavsky
Subject: [elpa] master 7b013db 06/63: Keep yas--snippets-at-point for compatibility
Date: Mon, 17 Jul 2017 22:54:10 -0400 (EDT)

branch: master
commit 7b013dbbdbaa692199616e5ef727b5d4e3149e63
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    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.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]