From 15c7703b5b4b6244ff9305dd6ffd9d62452a6ede Mon Sep 17 00:00:00 2001 From: capitaomorte Date: Sat, 29 Aug 2009 10:55:59 +0000 Subject: [PATCH] Minor doc update and a symbolic link to index.html which I don't know if works --- doc/define-snippet.html | 1 + doc/index.html | 8 ++++---- doc/index.rst | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) create mode 120000 doc/define-snippet.html diff --git a/doc/define-snippet.html b/doc/define-snippet.html new file mode 120000 index 0000000..d959df5 --- /dev/null +++ b/doc/define-snippet.html @@ -0,0 +1 @@ +doc/index.html \ No newline at end of file diff --git a/doc/index.html b/doc/index.html index c8a7136..54edc54 100644 --- a/doc/index.html +++ b/doc/index.html @@ -3,7 +3,7 @@ - + Yet Another Snippet extension @@ -121,14 +121,14 @@ following in your ~/.emacs

Normal Install

For full install of the normal archive, just download and unpack the latest yasnippet-x.y.z.tar.bz2. You'll get a directory named -yasnippet, put it in your ~/.emacs.d/plugins and add the +yasnippet-x.y.z, put it in your ~/.emacs.d/plugins and add the following in your .emacs file:

(add-to-list 'load-path
-              "~/.emacs.d/plugins")
+              "~/.emacs.d/plugins/yasnippet-x.y.z")
 (require 'yasnippet) ;; not yasnippet-bundle
 (yas/initialize)
-(yas/load-directory "~/.emacs.d/plugins/yasnippet/snippets")
+(yas/load-directory "~/.emacs.d/plugins/yasnippet-x.y.z/snippets")
 

Please refer to the documentation for full customization, or use the diff --git a/doc/index.rst b/doc/index.rst index a236a61..ac2338b 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -70,16 +70,16 @@ Normal Install For full install of the normal archive, just download and unpack the latest ``yasnippet-x.y.z.tar.bz2``. You'll get a directory named -``yasnippet``, put it in your ``~/.emacs.d/plugins`` and add the +``yasnippet-x.y.z``, put it in your ``~/.emacs.d/plugins`` and add the following in your ``.emacs`` file: .. sourcecode:: common-lisp (add-to-list 'load-path - "~/.emacs.d/plugins") + "~/.emacs.d/plugins/yasnippet-x.y.z") (require 'yasnippet) ;; not yasnippet-bundle (yas/initialize) - (yas/load-directory "~/.emacs.d/plugins/yasnippet/snippets") + (yas/load-directory "~/.emacs.d/plugins/yasnippet-x.y.z/snippets") Please refer to the documentation for full customization, or use the customization group.