Skip to content
Browse files

Add '-' to escaped characters for emacs completion.

After feedback from @jenshnielsen in #1015.
  • Loading branch information...
1 parent 32a579d commit 9eb1305963f2dacbc9524a925cf58045e9a95e4a @fperez fperez committed Nov 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/emacs/ipython.el
View
2 docs/emacs/ipython.el
@@ -391,7 +391,7 @@ in the current *Python* session."
;; expression part; a more powerful approach in the future might be
;; to let ipython have the complete line, so that context can be used
;; to do things like filename completion etc.
- (beg (save-excursion (skip-chars-backward "a-z0-9A-Z_./" (point-at-bol))
+ (beg (save-excursion (skip-chars-backward "a-z0-9A-Z_./\-" (point-at-bol))
(point)))
(end (point))
(line (buffer-substring-no-properties (point-at-bol) end))

0 comments on commit 9eb1305

Please sign in to comment.
Something went wrong with that request. Please try again.