summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-12-18 20:26:13 +0100
committerGravatar Tom Willemse2015-12-18 20:26:13 +0100
commitaff5b835541f08a9edfa4fc8e914337d9a43b436 (patch)
treeda2c5fb824808478b3a7e30e3f98697f3a318d75 /emacs/.emacs.d/init.el
parentb64aaf4011cbfff292e53616b1782489a5c2b636 (diff)
downloaddotfiles-aff5b835541f08a9edfa4fc8e914337d9a43b436.tar.gz
dotfiles-aff5b835541f08a9edfa4fc8e914337d9a43b436.zip
Add Hy library
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r--emacs/.emacs.d/init.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 0d3698e..258acb1 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -141,11 +141,6 @@ MODE1 is enabled and vice-versa."
"Set the `disabled' property for each item in FUNCTIONS to nil."
(mapc #'(lambda (f) (put f 'disabled nil)) functions))
-(defun oni:set-keys-for-hy ()
- "Set some keybindings for `hy-mode'."
- (local-set-key (kbd "{") #'paredit-open-curly)
- (local-set-key (kbd "}") #'paredit-close-curly))
-
(defun oni:set-keys-for-jabber-chat ()
"Set certain keys for `jabber-chat-mode'."
(local-set-key (kbd "M-!") #'shell-command-with-command))
@@ -761,7 +756,7 @@ If no direction is given, don't split."
#'turn-off-auto-fill)
(oni:add-hooks 'hy-mode-hook
- #'paredit-mode #'oni:set-keys-for-hy)
+ #'paredit-mode 'oni:set-keys-for-hy)
(oni:add-hooks 'ielm-mode-hook
#'paredit-mode #'eldoc-mode 'oni:set-emacs-lisp-keys)