Emacs init code added. Doc string in pmr functions added