Read site.bind as well as the user's bind file.

Why is site.bind given special treatment?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26505 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-09-23 17:04:25 +00:00
parent cbb26a58aa
commit 6c5efdf25d

View File

@ -2107,6 +2107,7 @@ void PrefShortcuts::update(LyXRC const & rc)
system_bind_.clear(); system_bind_.clear();
user_bind_.clear(); user_bind_.clear();
user_unbind_.clear(); user_unbind_.clear();
system_bind_.read("site");
system_bind_.read(rc.bind_file); system_bind_.read(rc.bind_file);
// \unbind in user.bind is added to user_unbind_ // \unbind in user.bind is added to user_unbind_
user_bind_.read("user", &user_unbind_); user_bind_.read("user", &user_unbind_);