Created
November 15, 2008 13:15
-
-
Save g000001/25243 to your computer and use it in GitHub Desktop.
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
(progn | |
(defun amop-lookup () | |
(interactive) | |
(browse-url | |
(format "http://www.lisp.org/mop/dictionary.html#%s" | |
(let* ((name (thing-at-point 'symbol)) | |
(pos (position ?: name))) | |
(if pos | |
(subseq name (1+ pos)) | |
name))))) | |
(define-key slime-mode-map [(control ?c) (control ?d) ?m] 'amop-lookup)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment