A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/LW/html/lw-1424.htm below:

product-registry-path

Description

The function product-registry-path returns the registry subpath defined for the product denoted by product, as a string.

The function (setf product-registry-path) sets the registry subpath for the product denoted by product.

If path is a string it can contain backslash \ or forward slash / as directory separators - these are translated internally to the separator appropriate for the system. Note that any backslash will need escaping (with another backslash) if you input the string value via the Lisp reader.

If path is a list of strings, then it is interpreted like the directory component of a pathname.

This registry subpath is used when reading and storing user preferences with user-preference.

Note that while product can be any Lisp object, values of product are compared by eq, so you should use keywords.

Example
(setf (sys:product-registry-path :deep-thought)
      (list "Deep Thought" "1.0"))

Then, on non-Windows systems:

(sys:product-registry-path :deep-thought)
=>
"Deep Thought/1.0"

And on Microsoft Windows:

(sys:product-registry-path :deep-thought)
=>
"Deep Thought\\1.0"

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4