<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,8 @@
+;; Counts the words in a buffer
+(defun wc ()
+  (interactive)
+  (message &quot;Word count: %s&quot; (how-many &quot;\\w+&quot; (point-min) (point-max))))
+
 (defun swap-windows ()
   &quot;If you have 2 windows, it swaps them.&quot; 
   (interactive) 
@@ -46,4 +51,15 @@
         (delete-file filename) 	
         (set-visited-file-name newname) 	
         (set-buffer-modified-p nil) 	
-        t)))) 
\ No newline at end of file
+        t)))) 
+
+(defun sort-words-on-line () 
+  (interactive) 
+  (insert (mapconcat 'identity 
+                     (sort (split-string 
+                            (delete-and-extract-region 
+                             (point) (1+ (line-end-position)))) 
+                           'string&lt;) 
+                     &quot; &quot;) 
+          &quot;\n&quot;)) 
+</diff>
      <filename>emacs/me/code.el</filename>
    </modified>
    <modified>
      <diff>@@ -44,3 +44,6 @@
 
 ;; Aliases
 (defalias 'dir 'dired)
+
+(put 'dired-find-alternate-file 'disabled nil)
+(setq-default indent-tabs-mode nil)</diff>
      <filename>emacs/me/settings.el</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9c365dede8b3b56b74521f3521062aef94ccf93c</id>
    </parent>
  </parents>
  <author>
    <name>Fogus</name>
    <email>mefogus@gmail.com</email>
  </author>
  <url>http://github.com/fogus/polyglot/commit/e64ca198183a055863339fd9163c722f99fb0ad2</url>
  <id>e64ca198183a055863339fd9163c722f99fb0ad2</id>
  <committed-date>2009-07-10T12:47:26-07:00</committed-date>
  <authored-date>2009-07-10T12:47:26-07:00</authored-date>
  <message>added some custom functions</message>
  <tree>e4d89a8c409c388f47c26aaacd29c86ce120e657</tree>
  <committer>
    <name>Fogus</name>
    <email>mefogus@gmail.com</email>
  </committer>
</commit>
