aboutsummaryrefslogtreecommitdiffstats
path: root/paredit/paredit.install
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-04-11 01:14:55 +0200
committerMattias Andrée <maandree@operamail.com>2013-04-11 01:14:55 +0200
commit633abaa4a3e29021a55abfca5ba62819c8ca5c46 (patch)
tree3cda5b509bef2c10a53e11203e74651b8332659d /paredit/paredit.install
parentnew version of paredit (diff)
downloadaur-packages-633abaa4a3e29021a55abfca5ba62819c8ca5c46.tar.gz
aur-packages-633abaa4a3e29021a55abfca5ba62819c8ca5c46.tar.bz2
aur-packages-633abaa4a3e29021a55abfca5ba62819c8ca5c46.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--paredit/paredit.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/paredit/paredit.install b/paredit/paredit.install
new file mode 100644
index 0000000..210acab
--- /dev/null
+++ b/paredit/paredit.install
@@ -0,0 +1,17 @@
+post_install() {
+ cat << 'EOF'
+==> Put this in your $HOME/.emacs file to enable autoloading of paredit:
+
+(autoload 'paredit-mode "paredit"
+ "Minor mode for pseudo-structurally editing Lisp code." t)
+
+==> Toggle Paredit Mode with `M-x paredit-mode RET', or enable it
+==> always in a major mode `M' (e.g., `lisp' or `scheme') with:
+
+(add-hook M-mode-hook (lambda () (paredit-mode +1)))
+EOF
+}
+
+post_upgrade() {
+ post_install
+}