=== modified file 'python-mode.el' --- python-mode.el 2012-02-20 07:26:46 +0000 +++ python-mode.el 2012-02-21 19:07:16 +0000 @@ -6679,7 +6679,7 @@ Optional arguments DEDICATED (boolean) and SWITCH (symbols 'noswitch/'switch) " (interactive "r\nP") - (let ((shell (cond ((eq 4 (prefix-numeric-value shell)) (default-value py-shell-name)) + (let ((shell (cond ((eq 4 (prefix-numeric-value shell)) (default-value 'py-shell-name)) ((and (numberp shell) (not (eq 1 (prefix-numeric-value shell)))) (read-from-minibuffer "(path-to-)shell-name: " (default-value 'py-shell-name))) (t shell)))) @@ -6699,7 +6699,7 @@ When called from a programm, it accepts a string specifying a shell which will be forced upon execute as argument. " (interactive "r\nP") - (let ((shell (cond ((eq 4 (prefix-numeric-value shell)) (default-value py-shell-name)) + (let ((shell (cond ((eq 4 (prefix-numeric-value shell)) (default-value 'py-shell-name)) ((and (numberp shell) (not (eq 1 (prefix-numeric-value shell)))) (read-from-minibuffer "(path-to-)shell-name: " (default-value 'py-shell-name))) (t shell))))