Fixed doco to appease checkdoc.
Idiomatic code tweaks per critique in #emacs.