Created
September 29, 2008 08:04
-
-
Save g000001/13569 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(progn | |
(defun gcode-lookup () | |
"カーソル位置のシンボルをGoogle Codeで検索(lisp決め打ち)" | |
(interactive) | |
(browse-url | |
(format "http://www.google.com/codesearch?q=%s+lang:%s+file:\\.%s$&hl=ja&num=20" | |
(thing-at-point 'symbol) "lisp" "lisp"))) | |
(define-key slime-mode-map [(control ?c) (control ?d) ?g] 'gcode-lookup)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment