Commits

Ivan Andrus committed 37219e0

Don't need to update python-buffer too

  • Participants
  • Parent commits 92a9580

Comments (0)

Files changed (1)

File emacs/sage-mode.el

 	    (car (sage-all-inferior-sage-buffers))))))
   (let ((chosen-buffer (with-current-buffer buffer (current-buffer))))
     (setq sage-buffer chosen-buffer)
-    (setq sage-buffer chosen-buffer) ; update python-buffer too
     (when (sage-mode-p)
       (sage-update-mode-line chosen-buffer))))
 
 			  (call-interactively 'sage-create-new-sage)
 			(sage-create-new-sage cmd)))
     (set-default 'sage-buffer sage-buffer) ; update defaults
-    (set-default 'python-buffer python-buffer)
 
     (with-current-buffer sage-buffer
       (unless noshow (pop-to-buffer sage-buffer)) ; show progress