Skip to content

Commit

Permalink
Merge pull request #219 from xbe/fix-dot-complete
Browse files Browse the repository at this point in the history
Rename "prefix-arg" in "jedi:dot-complete"
  • Loading branch information
syohex committed Apr 14, 2015
2 parents 4d42012 + 0972a6a commit fd4012d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jedi.el
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ in their Emacs configuration."
"Insert dot and complete code at point."
(interactive "p")
(self-insert-command nchars)
(unless (or (/= prefix-arg 1) ;; don't complete if inserted 2+ dots
(unless (or (/= nchars 1) ;; don't complete if inserted 2+ dots
(ac-cursor-on-diable-face-p)
;; don't complete if the dot is immediately after int literal
(looking-back "\\(\\`\\|[^._[:alnum:]]\\)[0-9]+\\."))
Expand Down

0 comments on commit fd4012d

Please sign in to comment.