[slime-devel] C-c C-d h for http://lispdoc.com/ instead of hyperspec

Helmut Eller heller at common-lisp.net
Thu Nov 17 15:51:52 UTC 2011


* Anton Vodonosov [2011-11-17 14:07] writes:

> Does anyone know how to do it? To use some combined index of hyperspec
> + other libraries?

Querying a search engine could be done so:

(defun lispdoc-lookup (query)
  (interactive (list (read-from-minibuffer "Search lispdoc.com: "
                                           (slime-symbol-at-point))))
  (browse-url (concat "http://lispdoc.com/?q=" (url-hexify-string query))))

(define-key slime-doc-map (kbd "n") 'lispdoc-lookup)

Maintaining a real index for tab-completion etc. would be quite a bit
more difficult.

Helmut





More information about the slime-devel mailing list