title: Installing YASnippet
body: <p>I have installed YASnippet and configured it with this:</p>
  
  <pre class="lang-lisp prettyprint-override"><code>(add-to-list 'load-path "~/.emacs.d/plugins/yasnippet-0.6.1c")
  (require 'yasnippet) ;; not yasnippet-bundle
  
  (yas--initialize)
  (yas/load-directory "~/.emacs.d/packages/yasnippet-0.6.1c/snippets")
  </code></pre>
  
  <p>However, when I launch Emacs it gives me an error: </p>
  
  <pre><code>Warning (initialization): An error occurred while loading `/home/alexander/.emacs':
  
  Symbol's function definition is void: yas--initialize
  
  To ensure normal operation, you should investigate and remove the
  cause of the error in your initialization file.  Start Emacs with
  the `--debug-init' option to view a complete error backtrace.
  (add-to-list 'load-path "~/.emacs.d/plugins/yasnippet-0.6.1c")
  (require 'yasnippet) ;; not yasnippet-bundle
  
  (yas--initialize)
  (yas/load-directory "~/.emacs.d/packages/yasnippet-0.6.1c/snippets")
  </code></pre>
  
  <p>What am I doing wrong? I have tried to find the answer but with no success. (I have also tried with another version of yasnippet yasnippet-0.6.1b but it was the same.)</p>