Permalink
Browse files

Add latest paredit beta as default for Palm.

  • Loading branch information...
1 parent 2167c24 commit 6a571f97086182208673aef0864673a6f3e2f313 @RayRacine committed Mar 4, 2013
Showing with 2,633 additions and 1 deletion.
  1. +4 −1 elisp/palm.el
  2. +2,629 −0 elisp/paredit.el
View
@@ -20,6 +20,7 @@
(require 'palm-inf)
(require 'palm-edit)
(require 'palm-syntax)
+(require 'paredit)
(defun palm-tr-mode-init ()
"Initialize Palm Major mode. Run by mode-hook."
@@ -30,11 +31,13 @@
(define-derived-mode palm-tr-mode scheme-mode "Palm"
(setq font-lock-defaults (palm-syntax-font-lock-insensitive-case font-lock-defaults))
(font-lock-add-keywords 'palm-tr-mode palm-syntax--keywords)
- (add-hook 'palm-tr-mode-hook 'palm-tr-mode-init))
+ (add-hook 'palm-tr-mode-hook 'palm-tr-mode-init)
+ (add-hook 'palm-tr-mode-hook 'enable-paredit-mode))
(add-to-list 'auto-mode-alist '("\\.rkt\\'" . palm-tr-mode))
+
(ecb-activate)
(semantic-mode 1)
(setq font-lock-keywords-case-fold-search nil)
Oops, something went wrong.

0 comments on commit 6a571f9

Please sign in to comment.