<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>CHANGELOG</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -19,7 +19,7 @@ When you click on the bookmarklet, it'll give you a text prompt. Type in the nam
 
 Hitting ESC or Cancel leaves your browser in it's previous state.
 
-=== User Macro
+=== User Search
 
 Want to search for a user? Type in 'u:' followed by your query. So for instance to look at Kamal's github account, I would type in:
 
@@ -27,6 +27,12 @@ Want to search for a user? Type in 'u:' followed by your query. So for instance
 
 Hitting Return or OK now takes you straight to the user's Github profile, or shows you a 404 if there is no such user.
  
+=== Code Search
+
+As for user-search, but use the c: prefix. You can also use any of the GitHub macros as defined on the code-search page: http://github.com/codesearch
+
+ c: badger language:ruby
+ 
 == Acknowledgements
 
 - John Gruber for his bookmarklet formatting script: http://daringfireball.net/2007/03/javascript_bookmarklet_builder </diff>
      <filename>README.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -1,16 +1,20 @@
 // Copyright (c) Douglas F Shearer 2008
 // Available under the MIT Licence.
 // Install at: http://douglasfshearer.com/blog/announcing-github-bookmarklet
-//
+// 
 // Compile command: perl make_bookmarklet.pl github_bookmarklet.js
 
 var query = prompt(&quot;Search GitHub.com&quot;);
 
 var user_search_ary = /^u:(.*)/g.exec(query);
+var code_search_ary = /^c:(.*)/g.exec(query);
 
 if (user_search_ary) {
   window.location = &quot;http://github.com/&quot; + user_search_ary[1];
 }
+else if (code_search_ary) {
+  window.location = &quot;http://github.com/codesearch?q=&quot; + code_search_ary[1] + &quot;&amp;repo=&amp;langOverride=&amp;language=&amp;x=0&amp;y=0&quot;;
+}
 else if (query) {
   window.location = &quot;http://github.com/search?q=&quot; + query;
 }</diff>
      <filename>github_bookmarklet.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>433bae54e0bb13e1d4c2676c8cdefe0567f50586</id>
    </parent>
  </parents>
  <author>
    <name>Douglas F Shearer</name>
    <email>dougal.s@gmail.com</email>
  </author>
  <url>http://github.com/dougal/github-bookmarklet/commit/bba30763b0f0b7ea6bc8fbc60711446ee7078010</url>
  <id>bba30763b0f0b7ea6bc8fbc60711446ee7078010</id>
  <committed-date>2008-11-03T12:28:23-08:00</committed-date>
  <authored-date>2008-11-03T12:28:23-08:00</authored-date>
  <message>Bookmarklet now supports new code search.
Added whitespace after comment decleration so it is cleaned by make_bookmarklet.
Added a changelog.</message>
  <tree>a8b6e2aa91a15bb6aa5667bfc2239d2afc61ba99</tree>
  <committer>
    <name>Douglas F Shearer</name>
    <email>dougal.s@gmail.com</email>
  </committer>
</commit>
