Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cadb331

Browse files
Use keyword argument in sage-shell:run
1 parent 9bf6df0 commit cadb331

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎ob-sagemath.el

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,12 @@ buffer."
170170
" Make sure your src block has a :session param.")))
171171
((stringp session)
172172
(setq sage-shell:process-buffer
173-
(sage-shell:run cmd nil 'no-switch
174-
(format "*Sage<%s>*" session))))
173+
(sage-shell:run cmd nil
174+
:switch-function 'no-switch
175+
:buffer-name (format "*Sage<%s>*" session))))
175176
(t (setq sage-shell:process-buffer
176-
(sage-shell:run cmd nil 'no-switch)))))
177+
(sage-shell:run cmd nil
178+
:switch-function 'no-switch)))))
177179

178180
(unless sync
179181
(org-babel-remove-result)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /