Show More
@@ -6,7 +6,7 b'' | |||||
6 | ;; URL: http://ipython.scipy.org |
|
6 | ;; URL: http://ipython.scipy.org | |
7 | ;; Compatibility: Emacs21, XEmacs21 |
|
7 | ;; Compatibility: Emacs21, XEmacs21 | |
8 | ;; FIXME: #$@! INPUT RING |
|
8 | ;; FIXME: #$@! INPUT RING | |
9 |
(defconst ipython-version "$Revision: 2 |
|
9 | (defconst ipython-version "$Revision: 2232 $" | |
10 | "VC version number.") |
|
10 | "VC version number.") | |
11 |
|
11 | |||
12 | ;;; Commentary |
|
12 | ;;; Commentary | |
@@ -175,6 +175,9 b' the second for a \'normal\' command, and the third for a multiline command.")' | |||||
175 |
|
175 | |||
176 | (ansi-color-for-comint-mode-on) |
|
176 | (ansi-color-for-comint-mode-on) | |
177 | (define-key py-shell-map [tab] 'ipython-complete) |
|
177 | (define-key py-shell-map [tab] 'ipython-complete) | |
|
178 | ;; Add this so that tab-completion works both in X11 frames and inside | |||
|
179 | ;; terminals (such as when emacs is called with -nw). | |||
|
180 | (define-key py-shell-map "\t" 'ipython-complete) | |||
178 | ;;XXX this is really just a cheap hack, it only completes symbols in the |
|
181 | ;;XXX this is really just a cheap hack, it only completes symbols in the | |
179 | ;;interactive session -- useful nonetheless. |
|
182 | ;;interactive session -- useful nonetheless. | |
180 | (define-key py-mode-map [(meta tab)] 'ipython-complete) |
|
183 | (define-key py-mode-map [(meta tab)] 'ipython-complete) |
General Comments 0
You need to be logged in to leave comments.
Login now