Mercurial > emacs
comparison lisp/progmodes/python.el @ 87856:4f657ba160d6
Martin Svenson <phromo at gmail.com> (tiny change)
(python-imports): Default to "None".
| author | Glenn Morris <rgm@gnu.org> |
|---|---|
| date | Sun, 20 Jan 2008 03:56:50 +0000 |
| parents | 107ccd98fa12 |
| children | 6f654ccab302 |
comparison
equal
deleted
inserted
replaced
| 87855:99b95cc8bbf2 | 87856:4f657ba160d6 |
|---|---|
| 1887 ;; definition (separate from BicycleRepairMan). Complicated by | 1887 ;; definition (separate from BicycleRepairMan). Complicated by |
| 1888 ;; finding the right qualified name. | 1888 ;; finding the right qualified name. |
| 1889 | 1889 |
| 1890 ;;;; Completion. | 1890 ;;;; Completion. |
| 1891 | 1891 |
| 1892 (defvar python-imports nil | 1892 ;; http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-01/msg00076.html |
| 1893 (defvar python-imports "None" | |
| 1893 "String of top-level import statements updated by `python-find-imports'.") | 1894 "String of top-level import statements updated by `python-find-imports'.") |
| 1894 (make-variable-buffer-local 'python-imports) | 1895 (make-variable-buffer-local 'python-imports) |
| 1895 | 1896 |
| 1896 ;; Fixme: Should font-lock try to run this when it deals with an import? | 1897 ;; Fixme: Should font-lock try to run this when it deals with an import? |
| 1897 ;; Maybe not a good idea if it gets run multiple times when the | 1898 ;; Maybe not a good idea if it gets run multiple times when the |
