mirror of https://github.com/texmacs/doc.git
Rename get-name-buffer and set-name-buffer
This commit is contained in:
parent
b65bc3a395
commit
4ad73d1301
|
@ -99,10 +99,10 @@
|
||||||
<\scm-code>
|
<\scm-code>
|
||||||
(if (no-name?)
|
(if (no-name?)
|
||||||
|
|
||||||
\ \ \ \ (make-session "maxima" (url-\<gtr\>string (get-name-buffer))))
|
\ \ \ \ (make-session "maxima" (url-\<gtr\>string (current-buffer))))
|
||||||
</scm-code>
|
</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
|
<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
|
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
|
<name|Maxima>, then you should use <scm|"default"> instead, for the second
|
||||||
|
|
Loading…
Reference in New Issue