comparison lisp/progmodes/python.el @ 79888:6091631b1d67

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:41 +0000
parents a1342e6e097a
children fffb131e8c0c
comparison
equal deleted inserted replaced
79887:5b2bfd5f3fc7 79888:6091631b1d67
1864 ;; definition (separate from BicycleRepairMan). Complicated by 1864 ;; definition (separate from BicycleRepairMan). Complicated by
1865 ;; finding the right qualified name. 1865 ;; finding the right qualified name.
1866 1866
1867 ;;;; Completion. 1867 ;;;; Completion.
1868 1868
1869 (defvar python-imports nil 1869 ;; http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-01/msg00076.html
1870 (defvar python-imports "None"
1870 "String of top-level import statements updated by `python-find-imports'.") 1871 "String of top-level import statements updated by `python-find-imports'.")
1871 (make-variable-buffer-local 'python-imports) 1872 (make-variable-buffer-local 'python-imports)
1872 1873
1873 ;; Fixme: Should font-lock try to run this when it deals with an import? 1874 ;; Fixme: Should font-lock try to run this when it deals with an import?
1874 ;; Maybe not a good idea if it gets run multiple times when the 1875 ;; Maybe not a good idea if it gets run multiple times when the