##// END OF EJS Templates
ipython.el tab completion fix according to suggestion by frank wang
vivainio -
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: 2275 $"
9 (defconst ipython-version "$Revision: 2927 $"
10 "VC version number.")
10 "VC version number.")
11
11
12 ;;; Commentary
12 ;;; Commentary
@@ -375,7 +375,7 b' in the current *Python* session."'
375 ;; expression part; a more powerful approach in the future might be
375 ;; expression part; a more powerful approach in the future might be
376 ;; to let ipython have the complete line, so that context can be used
376 ;; to let ipython have the complete line, so that context can be used
377 ;; to do things like filename completion etc.
377 ;; to do things like filename completion etc.
378 (beg (save-excursion (skip-chars-backward "a-z0-9A-Z_." (point-at-bol))
378 (beg (save-excursion (skip-chars-backward "a-z0-9A-Z_./" (point-at-bol))
379 (point)))
379 (point)))
380 (end (point))
380 (end (point))
381 (pattern (buffer-substring-no-properties beg end))
381 (pattern (buffer-substring-no-properties beg end))
General Comments 0
You need to be logged in to leave comments. Login now