<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -14,10 +14,7 @@
 (global-set-key (kbd &quot;M-/&quot;) 'hippie-expand)
 
 ;; Perform general cleanup.
-(global-set-key (kbd &quot;C-c n&quot;) (lambda () (interactive)
-                                (indent-buffer)
-                                (delete-trailing-whitespace)
-                                (untabify-buffer)))
+(global-set-key (kbd &quot;C-c n&quot;) 'cleanup-buffer)
 
 ;; Turn on the menu bar for exploring new modes
 (global-set-key [f1] 'menu-bar-mode)</diff>
      <filename>starter-kit-bindings.el</filename>
    </modified>
    <modified>
      <diff>@@ -71,6 +71,13 @@
   (interactive)
   (indent-region (point-min) (point-max)))
 
+(defun cleanup-buffer ()
+  &quot;Perform a bunch of operations on the whitespace content of a buffer.&quot;
+  (interactive)
+  (indent-buffer)
+  (untabify-buffer)
+  (delete-trailing-whitespace))
+
 (defun recentf-ido-find-file ()
   &quot;Find a recent file using ido.&quot;
   (interactive)</diff>
      <filename>starter-kit-defuns.el</filename>
    </modified>
    <modified>
      <diff>@@ -8,9 +8,9 @@
 
 (add-hook 'emacs-lisp-mode-hook 'emacs-lisp-remove-elc-on-save)
 
-(when (boundp 'paredit-mode)
-  (add-hook emacs-lisp-mode-hook (lambda () (paredit-mode +1)))
-  (add-hook lisp-mode-hook (lambda () (paredit-mode +1))))
+(when (functionp 'paredit-mode)
+  (add-hook 'emacs-lisp-mode-hook (lambda () (paredit-mode +1)))
+  (add-hook 'lisp-mode-hook (lambda () (paredit-mode +1))))
 
 (defun emacs-lisp-remove-elc-on-save ()
   &quot;If you're saving an elisp file, likely the .elc is no longer valid.&quot;</diff>
      <filename>starter-kit-lisp.el</filename>
    </modified>
    <modified>
      <diff>@@ -7,6 +7,7 @@
      (require 'ruby-compilation)
      (add-hook 'ruby-mode-hook 'inf-ruby-keys)
      (define-key ruby-mode-map (kbd &quot;RET&quot;) 'reindent-then-newline-and-indent)
+     (define-key ruby-mode-map (kbd &quot;C-M-h&quot;) 'backward-kill-word)
      (define-key ruby-mode-map (kbd &quot;C-c l&quot;) &quot;lambda&quot;)))
 
 (global-set-key (kbd &quot;C-h r&quot;) 'ri)</diff>
      <filename>starter-kit-ruby.el</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>76d7bbfc0c2d42c4e113576f6bbbb8c663d3c51e</id>
    </parent>
  </parents>
  <author>
    <name>Phil Hagelberg</name>
    <email>technomancy@gmail.com</email>
  </author>
  <url>http://github.com/topfunky/emacs-starter-kit/commit/1f6f58b414e1dbae7f5668b9024a2400729e6ef6</url>
  <id>1f6f58b414e1dbae7f5668b9024a2400729e6ef6</id>
  <committed-date>2008-12-16T20:53:24-08:00</committed-date>
  <authored-date>2008-12-16T20:35:54-08:00</authored-date>
  <message>Extracted cleanup buffer function.</message>
  <tree>695d03f87da72a53251bf9ecbec128baa0332387</tree>
  <committer>
    <name>Phil Hagelberg</name>
    <email>technomancy@gmail.com</email>
  </committer>
</commit>
