1
0
Fork 0

Rename pretend-save-buffer

This commit is contained in:
Joris van der Hoeven 2012-03-20 21:36:22 +00:00
parent 1e103e277e
commit 53b975df66
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<TeXmacs|1.0.7.14> <TeXmacs|1.0.7.15>
<style|tmdoc> <style|tmdoc>
@ -82,12 +82,12 @@
\ \ \ \ \ \ (init-style "article") \ \ \ \ \ \ (init-style "article")
\ \ \ \ \ \ (pretend-save-buffer))) \ \ \ \ \ \ (buffer-pretend-saved (current-buffer))))
</scm-code> </scm-code>
Notice that the check <verbatim|(no-name?)> is important: when omitted, the Notice that the check <verbatim|(no-name?)> is important: when omitted, the
styles of existing documents would also be changed to <tmstyle|article>. styles of existing documents would also be changed to <tmstyle|article>.
The command <scm|(pretend-save-buffer)> is used in order to avoid <TeXmacs> The function <scm|buffer-pretend-saved> is used in order to avoid <TeXmacs>
to complain about unsaved documents when leaving <TeXmacs> without changing to complain about unsaved documents when leaving <TeXmacs> without changing
the document. the document.