Commits

Jon Waltman committed 6a0fc97

Add ELPA support

Comments (0)

Files changed (2)

pydoc-info-pkg.el

+(define-package "pydoc-info" "0.2"
+ "Better Python support for info-lookup-symbol.")
 ;; Copyright (C) 2011  Jonathan Waltman
 
 ;; Author: Jonathan Waltman <jonathan.waltman@gmail.com>
-;; Keywords:
+;; Created: 1 Feb 2011
+;; Version: 0.2
+;; Keywords: python, info, docs
 
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
 
 ;;; Code:
 
-(require 'python)
+;;;###autoload
 (require 'info-look)
 
 (defcustom pydoc-info-hide-note-references t
 (pydoc-info-add-help '("python"))
 
 (defun pydoc-info-python-symbol-at-point ()
+  "Return the current Python symbol."
+  (require 'python)
   (with-syntax-table python-dotty-syntax-table
     (current-word)))