Update Emacs guide: set docstring programmatically