Browse files

elpy-refactor-insert-changes: Add argument CHANGES

This was not passed before, which only worked because Emacs Lisp is
dynamically scoped.
  • Loading branch information...
1 parent d90892e commit bc4399f7865362753711e4e5559f83bf64157044 @jorgenschaefer committed Mar 21, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 elpy-refactor.el
View
4 elpy-refactor.el
@@ -159,11 +159,11 @@ The user can review the changes and confirm them with
elpy-refactor-window-configuration (current-window-configuration))
(let ((inhibit-read-only t))
(erase-buffer)
- (elpy-refactor-insert-changes))
+ (elpy-refactor-insert-changes changes))
(select-window (display-buffer (current-buffer)))
(goto-char (point-min))))
-(defun elpy-refactor-insert-changes ()
+(defun elpy-refactor-insert-changes (changes)
"Format and display the changes described in CHANGES."
(insert (propertize "Use C-c C-c to apply the following changes."
'face 'bold)

0 comments on commit bc4399f

Please sign in to comment.