Permalink
Browse files

Prevent double-echoing in inferior python mode

Set a local variable in the inferior python mode hook so that commands
aren't echoed twice.
  • Loading branch information...
1 parent d7be7f6 commit a1dc49bad992f6365277c41e14f0a282da9d899e @markshroyer committed May 23, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 init.el
View
3 init.el
@@ -825,7 +825,8 @@ future."
(add-hook 'inferior-python-mode-hook
(lambda ()
(make-local-variable 'scroll-margin)
- (setq scroll-margin 0)))
+ (setq scroll-margin 0
+ comint-process-echoes t)))
(when (featurep 'pymacs)
(pymacs-load "ropemacs" "rope-")
(setq ropemacs-enable-autoimport t))

0 comments on commit a1dc49b

Please sign in to comment.