Commits

Arne Babenhauserheide committed 806bbfc

also enable general sphinx documentation for python.

  • Participants
  • Parent commits 106b94b
  • Branches kit

Comments (0)

Files changed (1)

File lisplets/activate-python.el

 ; Show python-documentation as info-pages via C-h S
 (setq load-path (cons "~/.emacs.d/libs/pydoc-info" load-path))
 (require 'pydoc-info)
+(info-lookup-add-help
+   :mode 'python-mode
+   :parse-rule 'pydoc-info-python-symbol-at-point
+   :doc-spec
+   '(("(python)Index" pydoc-info-lookup-transform-entry)
+     ("(sphinx)Index" pydoc-info-lookup-transform-entry)))
 
 (provide 'activate-python)