Made a few small improvements to emacs/acl2-doc.el, in particular to fix issues with Emacs 22.

git-svn-id: http://acl2-devel.googlecode.com/svn/trunk@1190 5d84a466-a78b-0930-a311-59b22171a541