branch: master
commit d61910789f626522a9e7424dccdeec8a76fb95ce
Author: Noam Postavsky <[email protected]>
Commit: Noam Postavsky <[email protected]>

    yasnippet.el (yas-initialize): Mark obsolete
---
 yasnippet.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/yasnippet.el b/yasnippet.el
index 95c96e4..16278cc 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -4434,6 +4434,7 @@ and return the directory.  Return nil if not found."
 
 (defun yas-initialize ()
   "For backward compatibility, enable `yas-minor-mode' globally."
+  (declare (obsolete "Use (yas-global-mode 1) instead." "0.8"))
   (yas-global-mode 1))
 
 (defvar yas--backported-syms '(;; `defcustom's

Reply via email to