vl-registry-delete

(vl-registry-delete key [entry])

The vl-registry-delete function erases an entry from a registry key, or removes an entire key from the OS registry (Windows® version only).

Arguments

key specifies a registry key (as text string).

entry specifies a key entry (as text string).

If no entry is specified or the argument is nil, the function all entries of the specified key and removes the key from the registry.

Note: The function does not delete a key that has subkeys.

Return Value

The funtions returns T if it succeeds, otherwise it returns nil.

Example

: (vl-registry-delete "HKEY_CURRENT_USER\\dummy_key")

T

Related Functions

vl-registry-descendents, vl-registry-read, vl-registry-write