Fix for emacs 24.x at RHEL6.2.
Fix was provided by GNU team per bug 14458.