Emacs22 で pycomplete

なんか Emacs22 だと pycomplete が動かなかったので Hack。
プロパティ付きの文字列の入出力周りに変化でもあったのかな。

--- pycomplete.el.orig  2005-12-02 10:30:11.000000000 -0500
+++ pycomplete.el       2006-09-01 20:13:55.718750000 -0400
@@ -26,7 +26,7 @@
              "^\\(import \\|from \\([A-Za-z_][A-Za-z_0-9]*\\) import \\).*"
              nil t)
        (setq imports (append imports
-                             (list (buffer-substring
+                             (list (buffer-substring-no-properties
                                     (match-beginning 0)
                                     (match-end 0))))))
       imports)))