1
0
Fork 0

Rename get-name-buffer and set-name-buffer

This commit is contained in:
Joris van der Hoeven 2012-03-19 16:05:12 +00:00
parent b65bc3a395
commit 4ad73d1301
1 changed files with 2 additions and 2 deletions

View File

@ -99,10 +99,10 @@
<\scm-code>
(if (no-name?)
\ \ \ \ (make-session "maxima" (url-\<gtr\>string (get-name-buffer))))
\ \ \ \ (make-session "maxima" (url-\<gtr\>string (current-buffer))))
</scm-code>
Using <scm|(url-\<gtr\>string (get-name-buffer))> as the second argument of
Using <scm|(url-\<gtr\>string (current-buffer))> as the second argument of
<scm|make-session> ensures that a different session will be opened for
every new buffer. If you want all buffers to share a common instance of
<name|Maxima>, then you should use <scm|"default"> instead, for the second