Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add latest paredit beta as default for Palm.

  • Loading branch information...
commit 6a571f97086182208673aef0864673a6f3e2f313 1 parent 2167c24
@RayRacine authored
Showing with 2,633 additions and 1 deletion.
  1. +4 −1 elisp/palm.el
  2. +2,629 −0 elisp/paredit.el
View
5 elisp/palm.el
@@ -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)
View
2,629 elisp/paredit.el
2,629 additions, 0 deletions not shown
Please sign in to comment.
Something went wrong with that request. Please try again.