1
0
Fork 0

Added append-preference as a convenience function

This commit is contained in:
Miguel de Benito 2012-09-19 12:45:41 +00:00
parent 027509aca8
commit 020d912b5d
1 changed files with 13 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<TeXmacs|1.0.7.16>
<TeXmacs|1.0.7.15>
<style|tmdoc>
@ -71,6 +71,18 @@
<scm|define-preferences>.
</explain>
<\explain>
<scm|(append-preference <scm-arg|name>
<scm-arg|value>)><explain-synopsis|appends a value to the list for a
preference>
<|explain>
This convenience function appends <scm|value> to the list of values of
preference <scm|name>, or creates a list with one element in case the
preference didn't exist. The call-back associated to this preference, as
defined in <scm|define-preferences> is called once the modification is
done.
</explain>
<\explain>
<scm|(reset-preference <scm-arg|name>)><explain-synopsis|delete user
preference>