Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove cheat binding, use coding-hook.

  • Loading branch information...
commit 38ac75bf972bc966b4ef47bf080a66d931402aa7 1 parent a9e12ca
@technomancy authored
View
7 starter-kit-bindings.el
@@ -64,16 +64,15 @@
;; Fetch the contents at a URL, display it raw.
(global-set-key (kbd "C-x h") 'view-url)
-;; Help
-
+;; Help should search more than just commands
(global-set-key (kbd "C-h a") 'apropos)
-(global-set-key (kbd "C-h c") 'cheat)
;; Applications
(global-set-key (kbd "C-c j") (lambda () (interactive) (switch-or-start 'jabber-connect "*-jabber-*")))
(global-set-key (kbd "C-c g") (lambda () (interactive) (switch-or-start 'gnus "*Group*")))
-(global-set-key (kbd "C-c i") (lambda () (interactive) (switch-or-start (lambda () (rcirc-connect "irc.freenode.net"))
+(global-set-key (kbd "C-c i") (lambda () (interactive) (switch-or-start (lambda ()
+ (rcirc-connect "irc.freenode.net"))
"*irc.freenode.net*")))
(global-set-key (kbd "C-c J") 'jabber-send-presence)
(global-set-key (kbd "C-c M-j") 'jabber-disconnect)
View
2  starter-kit-lisp.el
@@ -3,6 +3,8 @@
;; Part of the Emacs Starter Kit
(add-hook 'emacs-lisp-mode-hook 'eldoc-mode)
+(add-hook 'emacs-lisp-mode-hook 'my-coding-hook)
+(add-hook 'lisp-mode-hook 'my-coding-hook)
(add-hook 'emacs-lisp-mode-hook 'emacs-lisp-remove-elc-on-save)
View
2  starter-kit-ruby.el
@@ -30,6 +30,8 @@
(delete-region (point-min) (point-max))))))
(ad-activate 'ruby-do-run-w/compilation)))
+(add-hook 'ruby-mode-hook 'my-coding-hook)
+
;; TODO: set up ri
;; TODO: electric
;; TODO: flymake
Please sign in to comment.
Something went wrong with that request. Please try again.