1. Takafumi Arakaki
  2. pydoc-info

Commits

Takafumi Arakaki  committed 68966ad

Do not dynamically load python

It will be a disaster for python-mode.el users.

  • Participants
  • Parent commits 581c98f
  • Branches current-symbol-function

Comments (0)

Files changed (1)

File pydoc-info.el

View file
 
 (defun pydoc-info-current-symbol-python-el ()
   "Return current symbol.  Requires python.el."
-  (require 'python)
+  (unless (boundp 'python-dotty-syntax-table)
+    (error "python.el is not loaded."))
   (with-syntax-table python-dotty-syntax-table
     (current-word)))