vl-registry-descendents

(vl-registry-delete key [flag])

The vl-registry-delete function returns a list of subkeys or a list of entries of the specified key from the OS registry (Windows® version only).

Arguments

key specifies a registry key (as text string).

flag represents any value or nil. If it is supplied and is not nil, the specified value names will be listed from the registry.

If no flag is specified or the argument is nil, the function displays all subkeys of the specified key.

Return Value

The function returns a list of strings containing the subkeys or value.

It returns nil, if the search did not succeed.

Examples

: (vl-registry-descendents "HKEY_CURRENT_USER/Control Panel")

("HARDWARE" "SAM" "SECURITY" "SOFTWARE" "SYSTEM")

: (vl-registry-descendents "HKEY_LOCAL_MACHINE\\SOFTWARE")

Related Functions

vl-registry-delete, vl-registry-read, vl-registry-write