##// END OF EJS Templates
merging deftpunk's patch for python-mode
Pete Aykroyd -
Show More
@@ -229,10 +229,12 b' the second for a \'normal\' command, and the third for a multiline command.")'
229 (t ; default (backg-mode isn't always set by XEmacs)
229 (t ; default (backg-mode isn't always set by XEmacs)
230 "LightBG")))
230 "LightBG")))
231 py-python-command-args))
231 py-python-command-args))
232 (unless (equal ipython-backup-of-py-python-command py-python-command)
232 (when (boundp 'py-python-command)
233 (setq ipython-backup-of-py-python-command py-python-command))
233 (unless (equal ipython-backup-of-py-python-command py-python-command)
234 (setq py-python-command ipython-command))
234 (setq ipython-backup-of-py-python-command py-python-command)))
235
235 (setq py-python-command ipython-command)
236 (when (boundp 'py-shell-name)
237 (setq py-shell-name ipython-command)))
236
238
237 ;; MODIFY py-shell so that it loads the editing history
239 ;; MODIFY py-shell so that it loads the editing history
238 (defadvice py-shell (around py-shell-with-history)
240 (defadvice py-shell (around py-shell-with-history)
General Comments 0
You need to be logged in to leave comments. Login now