]> code.delx.au - gnu-emacs/commit
addpm.c: Replace existing entries, but do not create new ones
authorJuanma Barranquero <lekktu@gmail.com>
Sat, 24 Oct 2015 02:31:30 +0000 (04:31 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Sat, 24 Oct 2015 22:34:52 +0000 (00:34 +0200)
commitcbbea701c6956961b55ed754fbfe2ae6329f940b
treee3c394c90ad974d2dba5a6c1c6e972a4c98f5fc5
parent8c5747ea98e82b3f2112abf0b62a509649101903
addpm.c: Replace existing entries, but do not create new ones

* nt/addpm.c (add_registry): If the Emacs registry key exists, replace
existing values from previous versions, but do not add new ones; the
key could exist for other reasons unrelated to old Emacsen, like X-style
resources, or to set some environment variables like HOME or LANG, and
in that case we don't want to populate it with obsolete values.
nt/addpm.c