summaryrefslogtreecommitdiff
path: root/piem.el
diff options
context:
space:
mode:
Diffstat (limited to 'piem.el')
-rw-r--r--piem.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/piem.el b/piem.el
index 4451c2e..695a37b 100644
--- a/piem.el
+++ b/piem.el
@@ -184,6 +184,7 @@ Functions should accept one argument, the message ID given to
(unless (derived-mode-p 'piem-process-mode)
(piem-process-mode))
(setq default-directory (file-name-as-directory dir))
+ (goto-char (point-max))
(display-buffer buffer)
(let ((inhibit-read-only t))
(insert (format "\n%s\n;;; process: %S\n;;; directory: %s\n"