Created
October 12, 2012 23:14
-
-
Save ddeaguiar/3882165 to your computer and use it in GitHub Desktop.
emacs function for clojure docs lookup.
This file contains 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
(require 'clojure-mode) | |
(define-key clojure-mode-map (kbd "C-c C-g") 'clojure-browse-function) | |
(defun clojure-browse-function () | |
(interactive) | |
(browse-url | |
(concat "http://clojuredocs.org/clojure_core/clojure.core/" | |
(format "%s" (symbol-at-point))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment