Skip to content

Commit adcdb8a

Browse files
committed
Prefix should be nil if not passed
1 parent ab1eb32 commit adcdb8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyimport.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Preserves pyimport text properties on LINE."
139139
If called with a prefix, choose which import to use.
140140
141141
This is a simple heuristic: we just look for imports in all open Python buffers."
142-
(interactive "p")
142+
(interactive "P")
143143
(let ((symbol (thing-at-point 'symbol))
144144
(matching-lines nil)
145145
(case-fold-search nil))

0 commit comments

Comments
 (0)