(make-variable-buffer-local 'py-indent-offset)
-;; have to bind py-file-queue before installing the kill-emacs hook
+;; have to bind py-file-queue before installing the kill-emacs-hook
(defvar py-file-queue nil
"Queue of Python temp files awaiting execution.
Currently-active file is at the head of the list.")
;; install imenu
(setq imenu-create-index-function
(function imenu-example--create-python-index))
+ (setq imenu-generic-expression
+ imenu-example--generic-python-expression)
(if (fboundp 'imenu-add-to-menubar)
(imenu-add-to-menubar (format "%s-%s" "IM" mode-name)))