summarylogtreecommitdiffstats
path: root/yasnippet.install
diff options
context:
space:
mode:
Diffstat (limited to 'yasnippet.install')
-rw-r--r--yasnippet.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/yasnippet.install b/yasnippet.install
new file mode 100644
index 000000000000..b9222c5efad8
--- /dev/null
+++ b/yasnippet.install
@@ -0,0 +1,13 @@
+post_install() {
+ echo " add the following in your .emacs file:"
+ echo " (add-to-list 'load-path \"/usr/share/emacs/site-lisp/yas\")"
+ echo " (require 'yasnippet) ;; not yasnippet-bundle"
+ echo " (yas/global-mode 1) ;; or manually load it with yas-global-mode"
+}
+
+post_upgrade() {
+ post_install
+}
+pre_remove() {
+ echo "If you like remove the yasnippet stuff from your .emacs"
+} \ No newline at end of file